Java: update ferstl depgraph cves#22007
Merged
Merged
Conversation
3f0530b to
140b811
Compare
140b811 to
ebb74a5
Compare
mbg
approved these changes
Jun 19, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the vendored ferstl/depgraph-maven-plugin bundle used by the Java buildless extractor to address dependency CVEs by revving the CodeQL-suffixed plugin version and pinning patched transitive components, with corresponding integration-test expectation updates.
Changes:
- Bump the plugin artifact version suffix from
4.0.3-CodeQL-2to4.0.3-CodeQL-3. - Inject dependencyManagement pins for
plexus-utilsandcommons-lang3to pull patched versions into the bundled Maven repo. - Refresh buildless Maven integration-test
*.expectedfiles to reflect the new resolved artifacts and diagnostics strings.
Show a summary per file
| File | Description |
|---|---|
| java/ql/integration-tests/update-ferstl-depgraph-dependencies.sh | Bumps CodeQL plugin version and adds dependencyManagement injection for patched transitive dependencies. |
| java/ql/integration-tests/java/buildless-maven/maven-fetches.expected | Updates expected downloaded artifacts to CodeQL-3 and new pinned transitive versions. |
| java/ql/integration-tests/java/buildless-maven-tolerate-unavailable-dependency/diagnostics.expected | Updates expected diagnostic message to reference CodeQL-3. |
| java/ql/integration-tests/java/buildless-maven-timeout/diagnostics.expected | Updates expected diagnostic message to reference CodeQL-3. |
| java/ql/integration-tests/java/buildless-maven-mirrorof/maven-fetches.expected | Updates expected downloaded artifacts to CodeQL-3 and new pinned transitive versions. |
| java/ql/integration-tests/java/buildless-maven-existing-settings-xml/maven-fetches.expected | Updates expected downloaded artifacts to CodeQL-3 and new pinned transitive versions. |
Copilot's findings
- Files reviewed: 6/6 changed files
- Comments generated: 1
Comment on lines
+84
to
+90
| content = content.replace( | ||
| ' <scope>import</scope>\n </dependency>\n </dependencies>\n </dependencyManagement>', | ||
| ' <scope>import</scope>\n </dependency>\n' | ||
| ' <dependency>\n <groupId>org.codehaus.plexus</groupId>\n <artifactId>plexus-utils</artifactId>\n <version>3.6.1</version>\n </dependency>\n' | ||
| ' <dependency>\n <groupId>org.apache.commons</groupId>\n <artifactId>commons-lang3</artifactId>\n <version>3.18.0</version>\n </dependency>\n' | ||
| ' </dependencies>\n </dependencyManagement>', | ||
| 1) |
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.
No description provided.