Skip to content

Java: update ferstl depgraph cves#22007

Merged
IdrissRio merged 2 commits into
mainfrom
java-update-ferstl-depgraph-cves
Jun 22, 2026
Merged

Java: update ferstl depgraph cves#22007
IdrissRio merged 2 commits into
mainfrom
java-update-ferstl-depgraph-cves

Conversation

@IdrissRio

Copy link
Copy Markdown
Contributor

No description provided.

@IdrissRio IdrissRio added the depends on internal PR This PR should only be merged in sync with an internal Semmle PR label Jun 18, 2026
@github-actions github-actions Bot added Java and removed depends on internal PR This PR should only be merged in sync with an internal Semmle PR labels Jun 18, 2026
@IdrissRio IdrissRio added the no-change-note-required This PR does not need a change note label Jun 18, 2026
@IdrissRio IdrissRio force-pushed the java-update-ferstl-depgraph-cves branch from 3f0530b to 140b811 Compare June 18, 2026 13:44
@IdrissRio IdrissRio force-pushed the java-update-ferstl-depgraph-cves branch from 140b811 to ebb74a5 Compare June 19, 2026 07:46
@IdrissRio IdrissRio marked this pull request as ready for review June 22, 2026 07:27
@IdrissRio IdrissRio requested a review from a team as a code owner June 22, 2026 07:27
Copilot AI review requested due to automatic review settings June 22, 2026 07:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-2 to 4.0.3-CodeQL-3.
  • Inject dependencyManagement pins for plexus-utils and commons-lang3 to pull patched versions into the bundled Maven repo.
  • Refresh buildless Maven integration-test *.expected files 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)
@IdrissRio IdrissRio merged commit 568a147 into main Jun 22, 2026
9 of 16 checks passed
@IdrissRio IdrissRio deleted the java-update-ferstl-depgraph-cves branch June 22, 2026 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Java no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants