Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions .github/DEPENDENCY_DECISIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 |
Expand Down Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-wrapper-plugin</artifactId>
<version>3.3.4</version>
<dependencies>
<!-- GHSA-6fmv-xxpf-w3cw: the wrapper plugin brings Plexus Utils 4.0.2. -->
<dependency><groupId>org.codehaus.plexus</groupId><artifactId>plexus-utils</artifactId><version>4.0.3</version></dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -577,6 +581,10 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.9.0</version>
<dependencies>
<!-- GHSA-6fmv-xxpf-w3cw: Build Helper 3.9.0 brings Plexus Utils 4.0.2 through file-management. -->
<dependency><groupId>org.codehaus.plexus</groupId><artifactId>plexus-utils</artifactId><version>4.0.3</version></dependency>
</dependencies>
<executions>
<execution>
<id>module-descriptor-sources</id>
Expand Down
2 changes: 2 additions & 0 deletions scripts/tests/test_ci_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down