Repository navigation
Constrain guava past CVE-2026-102554 - #1283
Merged
Merged
Conversation
error-prone-contrib 0.30.0, the newest release, resolves guava 33.6.0-jre on the runtime classpath through refaster-support. Guava 33.7.2 fixes CVE-2026-102554 (HIGH). Found by the dependency vulnerability factory (OSV), applied with org.openrewrite.gradle.UpgradeTransitiveDependencyVersion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
Author
|
The dependency vulnerability factory looked at this |
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.
Opened by the dependency vulnerability factory, an agent that works through published vulnerabilities (OSV/GitHub advisories) in the
ALL/Modernerecipe modules and moderne-cli. It fixes each one with a version bump where upstream has a fix, or with a backpatch from moderne-backpatch-alliance where it doesn't.Why
tech.picnic.error-prone-support:error-prone-contrib0.30.0, its newest release, pulls guava 33.6.0-jre ontoruntimeClasspaththroughrefaster-support. GHSA-xxph-c9ww-hj94 / CVE-2026-102554 (HIGH: CompactHashMap/CompactHashSet/MapMakerInternalMap deserialization) is fixed in guava 33.7.2. This PR adds a constraint to 33.8.0-jre, the current release, until error-prone-support moves on its own.The CVEs are newer than
DependencyVulnerabilityCheck's advisory database, so it doesn't flag them yet. I found them by querying OSV with every coordinate on the shipped classpaths of the recipe modules.How
org.openrewrite.gradle.UpgradeTransitiveDependencyVersionwithonlyForConfigurations=implementation,runtimeOnlyadds oneconstraintsentry with abecause. A constraint only raises a version, so it becomes a no-op once upstream catches up.Verification
./gradlew dependencyInsight --configuration runtimeClasspathshows the vulnerable versions resolving to the constrained ones (for guava,33.6.0-jre -> 33.8.0-jre).artifacts.codegenomeproject.orgresolvingorg.openrewriteartifacts before anything compiled. That's a setup failure, not a code one, so this PR's CI is the compile and test check.Moderne changeset:
20261103190439-us1J2