Skip to content

Bump jackson-core to 2.18.6 in ferstl-depgraph-dependencies (CVE-2025-52999)#21868

Draft
Copilot wants to merge 3 commits into
mainfrom
copilot/bump-jackson-core-to-2150
Draft

Bump jackson-core to 2.18.6 in ferstl-depgraph-dependencies (CVE-2025-52999)#21868
Copilot wants to merge 3 commits into
mainfrom
copilot/bump-jackson-core-to-2150

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 19, 2026

jackson-core 2.14.1 bundled in ferstl-depgraph-dependencies is vulnerable to CVE-2025-52999 (StackOverflowError on deeply nested JSON, fixed in 2.15.0). This updates the companion github/codeql integration-test expected files to match the rebuilt plugin bundle.

Expected file updates

The internal semmle-code companion PR rebuilds depgraph-maven-plugin with:

  • Jackson 2.14.12.18.6 (fixes CVE; aligns with main CodeQL Java dependency set)
  • Plugin coordinate 4.0.3-CodeQL4.0.3-CodeQL-2 (ensures Maven cache invalidation)
  • jackson-parent 2.142.18.4, com/fasterxml/oss-parent 4869 (transitive POM parents)

Updated files:

  • maven-fetches.expected (×3: buildless-maven, buildless-maven-existing-settings-xml, buildless-maven-mirrorof) — new Jackson/oss-parent paths and plugin coordinate
  • diagnostics.expected (×2: buildless-maven-timeout, buildless-maven-tolerate-unavailable-dependency) — plugin version string in diagnostic messages

Auto-update script

Adds java/ql/integration-tests/update-ferstl-depgraph-dependencies.sh to automate future dependency bumps. The script:

  1. Clones ferstl/depgraph-maven-plugin at tag depgraph-maven-plugin-4.0.3
  2. Patches pom.xml (version suffix, Guava, Jackson)
  3. Builds with mvn package install -DskipTests
  4. Packages the resolved local repo into a zip (to be dropped into semmle-code)
  5. Rewrites all affected *.expected files in-place
# Default: Jackson 2.18.6, Guava 33.4.0-jre
./java/ql/integration-tests/update-ferstl-depgraph-dependencies.sh

# Override versions explicitly
./java/ql/integration-tests/update-ferstl-depgraph-dependencies.sh 2.19.0 33.4.0-jre

Requires JDK 17, Maven 3.9.x (not 4.x), git, python3.

…-52999)

- Update 3 maven-fetches.expected files: jackson 2.14.1→2.18.6,
  jackson-parent 2.14→2.18.4, oss-parent 48→69,
  plugin version 4.0.3-CodeQL→4.0.3-CodeQL-2
- Update 2 diagnostics.expected files: plugin version reference
  4.0.3-CodeQL→4.0.3-CodeQL-2
- Add update-ferstl-depgraph-dependencies.sh auto-update script
Copilot AI changed the title [WIP] Update jackson-core to version 2.15.0 for CVE-2025-52999 Bump jackson-core to 2.18.6 in ferstl-depgraph-dependencies (CVE-2025-52999) May 19, 2026
Copilot AI requested a review from oscarsj May 19, 2026 11:53
@github-actions github-actions Bot added the Java label May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants