Repository navigation
Pin Plexus Utils 4.0.3 in the Build Helper and wrapper realms - #285
Merged
Merged
Conversation
Build Helper 3.9.0 no longer declares Plexus Utils, so since #283 its realm resolves 4.0.2 through file-management. GHSA-6fmv-xxpf-w3cw affects 4.0.0 through 4.0.2 and is fixed in 4.0.3. The Maven Wrapper Plugin realm resolves 4.0.2 as well. Pin both to 4.0.3 like the other 4.x realms, add them to the policy test and correct the decision record.
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes a regression from #283.
Build Helper 3.8.0 declared Plexus Utils 4.1.0 directly. 3.9.0 no longer uses Plexus Utils and declares no version, so its realm now resolves 4.0.2 through
file-management3.2.0. GHSA-6fmv-xxpf-w3cw (directory traversal inextractFile) affects 4.0.0 through 4.0.2 and is fixed in 4.0.3, which is why the other 4.x realms pin 4.0.3. #283's description said the realm moved to 4.2.0; that was wrong, and it has been corrected. GitHub's dependency graph listed 4.0.2 after #283 merged; no alert had opened yet.add-resource, the only Build Helper goal this build runs, doesn't callextractFile, but the realm executes and is submitted, so it gets the same pin as the others. The Maven Wrapper Plugin 3.3.4 realm also resolves 4.0.2. It only runs when the wrapper is regenerated and isn't submitted, but it is pinned too.pom.xml: Plexus Utils 4.0.3 in both realms, with advisory comments.scripts/tests/test_ci_policy.py: both realms join the 4.x lines in the Plexus Utils policy test.DEPENDENCY_DECISIONS.md: a dated entry, with removal conditions and a note to compare resolved plugin closures, not only declared versions, when a plugin moves.CHANGELOG.md: one entry.Compatibility and validation
Local runs used macOS arm64, Homebrew OpenJDK 17.0.21 and the Maven 3.10.2 wrapper.
dependency:resolve-plugins -DexcludeTransitive=falseresolves 4.0.3 in both realms. With and without-Psign-artifacts, no root build realm resolves an affected Plexus Utils version (the GPG and Central publisher realms resolve 3.6.4 under the signing profile)../mvnw -B -ntp clean verifypasses, and all nine JARs are byte-identical to main's.python3 -m unittest discover -s scripts/testspasses (38 tests).I kept the change scoped and preserved relevant notices.
I checked documentation/changelog and tests for any behavior change.
This PR contains no credentials or private vulnerability evidence.