Skip to content

SONARPHP-1941 Upgrade Jackson to 2.22.3 in SonarPHP integration tests - #1818

Merged
roberto-orlandi-sonarsource merged 2 commits into
masterfrom
fix/jackson-cve-2026-89407
Sep 24, 2026
Merged

roberto-orlandi-sonarsource merged 2 commits into
masterfrom
fix/jackson-cve-2026-89407

Conversation

@karim-ouerghemmi-sonarsource

@karim-ouerghemmi-sonarsource karim-ouerghemmi-sonarsource commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Upgrade the SonarPHP integration-test Jackson BOM from 2.22.2 to 2.22.3, the patched release for GHSA-p6pp-m3f8-5c89.
  • Regenerate the its/plugin and its/ruling lockfiles. Both integration-test runtime classpaths now resolve jackson-core:2.22.3.
  • Advance the build-logic/common submodule to the merged cloud-native-gradle-modules PR #142, which upgrades its Jackson BOM to 2.22.3.

These changes cover the three reported Jackson dependency paths in SonarPHP. The SCA finding should clear after this PR merges and master is rescanned.

Validation

  • Regenerated the two lockfiles with ./gradlew :its:plugin:dependencies :its:ruling:dependencies --write-locks --console=plain.
  • Ran dependencyInsight for jackson-core on each integration-test runtime classpath; both resolve 2.22.3.
  • ./gradlew :its:plugin:compileIntegrationTestJava :its:ruling:compileIntegrationTestJava --console=plain — passed.
  • ./gradlew help --console=plain — passed with the updated build-logic submodule.

@hashicorp-vault-sonar-prod hashicorp-vault-sonar-prod Bot changed the title Upgrade Jackson to 2.22.3 in SonarPHP integration tests SONARPHP-1941 Upgrade Jackson to 2.22.3 in SonarPHP integration tests Sep 24, 2026
@hashicorp-vault-sonar-prod

hashicorp-vault-sonar-prod Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

SONARPHP-1941

karim-ouerghemmi-sonarsource added a commit to SonarSource/cloud-native-gradle-modules that referenced this pull request Sep 24, 2026
## Summary
- Upgrade the Jackson BOM from 2.22.2 to 2.22.3 to address
[GHSA-p6pp-m3f8-5c89](GHSA-p6pp-m3f8-5c89).
- The JFrog Gradle plugin brings Jackson into the shared
`gradle-modules` runtime classpath. The BOM now resolves its transitive
`jackson-core` dependency to the patched version.

This addresses the remaining build-logic dependency path seen in
SonarPHP. After this PR merges, SonarPHP still needs to advance its
`build-logic/common` submodule pointer. The two SonarPHP
integration-test paths are handled in [SonarPHP PR
#1818](SonarSource/sonar-php#1818).

## Validation
- `./gradlew :gradle-modules:dependencyInsight --configuration
runtimeClasspath --dependency com.fasterxml.jackson.core:jackson-core
--console=plain` — resolves 2.22.3.
- `./gradlew :gradle-modules:check --console=plain` — passed.
@gitar-bot

gitar-bot Bot commented Sep 24, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

🟡 Medium risk · Updates Jackson versions across integration-test runtime classpaths and build logic.

Upgrades Jackson to 2.22.3 in SonarPHP integration tests to address CVE GHSA-p6pp-m3f8-5c89, regenerating lockfiles for both its/plugin and its/ruling modules. No issues found.

Review coverage

🧪 Functional validation No results

📋 Rules No rules evaluated

🤖 Auto-approval Not enabled · Set up

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Counting what did not apply, without listing it.

Comment with these commands to change the behavior for this request:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@sonarqube-next

Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
0 Dependency risks
No data about Coverage
No data about Duplication

See analysis details on SonarQube

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.

LGTM

@roberto-orlandi-sonarsource
roberto-orlandi-sonarsource merged commit 6ff73fa into master Sep 24, 2026
22 checks passed
@roberto-orlandi-sonarsource
roberto-orlandi-sonarsource deleted the fix/jackson-cve-2026-89407 branch September 24, 2026 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants