Skip to content

Upgrade commons-codec 1.11 -> 1.22.0 to remediate WS-2019-0379#66

Open
RakenBrian wants to merge 1 commit into
cloudconvert:masterfrom
RakenBrian:upgrade-commons-codec
Open

Upgrade commons-codec 1.11 -> 1.22.0 to remediate WS-2019-0379#66
RakenBrian wants to merge 1 commit into
cloudconvert:masterfrom
RakenBrian:upgrade-commons-codec

Conversation

@RakenBrian

Copy link
Copy Markdown

httpclient 4.5.13 pulls in commons-codec 1.11 transitively (the only path to it in the dependency tree). Bumping httpclient within the 4.5.x line does not help — 4.5.14 still hard-codes commons-codec 1.11 — so the version must be overridden explicitly.

Add a dependencyManagement entry pinning commons-codec to 1.22.0 (the current release) via a new commons-codec.version property. This upgrades the version tree-wide without adding a direct compile dependency or touching httpclient.

Remediates the non-CVE advisory WS-2019-0379 / SNYK-JAVA-COMMONSCODEC-561518 (Apache CODEC-134: improper input validation in Base32/Base64 decoding, information disclosure; affects < 1.13, fixed in 1.13). No CVE is assigned; it is a vendor-tracked advisory (flagged by Mend against the transitive 1.11). The project's 1.11 is in range; 1.22.0 contains the fix.

Verified:

  • dependency:tree shows commons-codec 1.22.0 (version managed from 1.11)
  • unit tests: 113/113 pass
  • integration tests (excl. webhook creation, blocked by an unrelated 429 rate limit on the shared sandbox key): 38/38 pass

httpclient 4.5.13 pulls in commons-codec 1.11 transitively (the only path
to it in the dependency tree). Bumping httpclient within the 4.5.x line
does not help — 4.5.14 still hard-codes commons-codec 1.11 — so the
version must be overridden explicitly.

Add a dependencyManagement entry pinning commons-codec to 1.22.0 (the
current release) via a new commons-codec.version property. This upgrades
the version tree-wide without adding a direct compile dependency or
touching httpclient.

Remediates the non-CVE advisory WS-2019-0379 / SNYK-JAVA-COMMONSCODEC-561518
(Apache CODEC-134: improper input validation in Base32/Base64 decoding,
information disclosure; affects < 1.13, fixed in 1.13). No CVE is assigned;
it is a vendor-tracked advisory (flagged by Mend against the transitive
1.11). The project's 1.11 is in range; 1.22.0 contains the fix.

Verified:
- dependency:tree shows commons-codec 1.22.0 (version managed from 1.11)
- unit tests: 113/113 pass
- integration tests (excl. webhook creation, blocked by an unrelated
  429 rate limit on the shared sandbox key): 38/38 pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant