diff --git a/.github/DEPENDENCY_DECISIONS.md b/.github/DEPENDENCY_DECISIONS.md index 66a2397..bb48461 100644 --- a/.github/DEPENDENCY_DECISIONS.md +++ b/.github/DEPENDENCY_DECISIONS.md @@ -3,7 +3,8 @@ Initial review: 2026-09-26. Focused API follow-up: 2026-09-27. Dependabot proposal-policy follow-up: 2026-09-28. Jackson and proposal-routing follow-up: 2026-10-05. Maven 3.10.0 wrapper follow-up: 2026-10-11. Maven 3.10.1 wrapper -follow-up: 2026-11-16. Maven 3.10.2 wrapper follow-up: 2026-11-23. +follow-up: 2026-11-16. Maven 3.10.2 wrapper follow-up: 2026-11-23. Build +Helper Plexus Utils pin: 2026-11-30. PRs [#176](https://github.com/OWASP/owasp-java-encoder/pull/176) and [#188](https://github.com/OWASP/owasp-java-encoder/pull/188) mixed ordinary build @@ -256,6 +257,26 @@ byte-identical. The signing profile and the reference-JDK reproducibility script have not run under 3.10.2 and need to before the next release; see the [Maven 3.10.2 validation](../releases/maven-3.10.2-validation.md). +## Build Helper 3.9.0 and Plexus Utils 4.0.2 — 2026-11-30 + +PR [#283](https://github.com/OWASP/owasp-java-encoder/pull/283) moved Build +Helper from 3.8.0 to 3.9.0. 3.8.0 declared Plexus Utils 4.1.0 directly; 3.9.0 +no longer uses it and declares no version, so its realm resolves **4.0.2** +through `file-management` 3.2.0. +[GHSA-6fmv-xxpf-w3cw](https://github.com/advisories/GHSA-6fmv-xxpf-w3cw) +(directory traversal in `extractFile`) affects 4.0.0 through 4.0.2 and is fixed +in 4.0.3, the reason for the existing 4.0.3 pins. #283 described the realm as +moving to 4.2.0; that was wrong. Build Helper's `add-resource` goal does not +call `extractFile`, but the realm is executed and submitted to the dependency +graph, which listed 4.0.2 after the merge. + +Pin Plexus Utils **4.0.3** in the Build Helper realm. The Maven Wrapper Plugin +3.3.4 realm also resolves 4.0.2. It runs only when the wrapper is regenerated +and is not submitted, but it gets the same pin. Both join the 4.x lines in the +policy test. Remove either pin when its plugin resolves 4.0.3 or newer without +it. A plugin update can lower a transitive as well as raise it, so compare the +resolved plugin closure before and after, not only the declared versions. + ## Deferred proposals and reconsideration conditions | Proposal | Disposition and required evidence before reconsideration | @@ -340,7 +361,7 @@ every reactor module that pins these coordinates to have its own entry on its expected line. Plexus Utils has the same problem without that remedy. Eight plugin realms pin -4.0.3 and six pin the 3.6 line, each on the major line its plugin resolves +4.0.3 (ten since 2026-11-30) and six pin the 3.6 line, each on the major line its plugin resolves without a pin. Dependabot PR [#274](https://github.com/OWASP/owasp-java-encoder/pull/274) proposed 3.6.2 → 3.6.4, wrote 3.6.4 into all fourteen declarations and passed CI, although that diff --git a/CHANGELOG.md b/CHANGELOG.md index 866c003..d8c94f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,9 @@ unchanged. [1.6.0 is available from Central](releases/1.6.0-central-publication. GHSA-ccrj-gw8r-854m. Published library dependencies are unchanged. - Refresh the Versions, Exec, Build Helper and Animal Sniffer plugins and the japicmp engine. Published library dependencies are unchanged. +- Pin Plexus Utils 4.0.3 in the Build Helper and Maven Wrapper plugin realms. + Build Helper 3.9.0 otherwise resolves 4.0.2, which GHSA-6fmv-xxpf-w3cw + affects. Published library dependencies are unchanged. - Build with Maven 3.10.2, the second 3.10.0 bugfix release, through the committed wrapper and require it for signed releases. Ordinary builds still accept Maven 3.9.16 or later (validation: diff --git a/pom.xml b/pom.xml index 0f4f1f2..d6da13f 100644 --- a/pom.xml +++ b/pom.xml @@ -207,6 +207,10 @@ org.apache.maven.plugins maven-wrapper-plugin 3.3.4 + + + org.codehaus.plexusplexus-utils4.0.3 + org.apache.maven.plugins @@ -577,6 +581,10 @@ org.codehaus.mojo build-helper-maven-plugin 3.9.0 + + + org.codehaus.plexusplexus-utils4.0.3 + module-descriptor-sources diff --git a/scripts/tests/test_ci_policy.py b/scripts/tests/test_ci_policy.py index aaf19ab..03ee2fb 100644 --- a/scripts/tests/test_ci_policy.py +++ b/scripts/tests/test_ci_policy.py @@ -329,6 +329,8 @@ def test_plexus_utils_pins_keep_each_plugin_realm_line(self): 'maven-clean-plugin': '4.', 'maven-resources-plugin': '3.', 'maven-antrun-plugin': '4.', + 'maven-wrapper-plugin': '4.', + 'build-helper-maven-plugin': '4.', 'maven-source-plugin': '4.', 'maven-javadoc-plugin': '4.', 'jacoco-maven-plugin': '3.',