Skip to content

fix: upgrade org.springframework:spring-core to 6.2.11 (CVE-2025-41249) - #3580

Open
anupamme wants to merge 1 commit into
iluwatar:masterfrom
anupamme:fix-repo-java-design-patterns-cve-2025-41249-anti-corruption-layer-pom-xml
Open

fix: upgrade org.springframework:spring-core to 6.2.11 (CVE-2025-41249)#3580
anupamme wants to merge 1 commit into
iluwatar:masterfrom
anupamme:fix-repo-java-design-patterns-cve-2025-41249-anti-corruption-layer-pom-xml

Conversation

@anupamme

Copy link
Copy Markdown

Summary

Upgrade org.springframework:spring-core from 6.2.6 to 6.2.11 to fix CVE-2025-41249.

Vulnerability

Field Value
ID CVE-2025-41249
Severity HIGH
Scanner trivy
Rule CVE-2025-41249
File anti-corruption-layer/pom.xml (dependency: org.springframework:spring-core)
Assessment Likely exploitable

Description: org.springframework/spring-core: Spring Framework Annotation Detection Vulnerability

Evidence

Scanner confirmation: trivy rule CVE-2025-41249 flagged this pattern.

Changes

  • pom.xml

Behavior Preservation

The change is scoped to 1 file on the vulnerable path; it only tightens handling of untrusted input and leaves valid inputs unaffected.


This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.


Automated security fix by OrbisAI Security

@github-actions

github-actions Bot commented Aug 18, 2026

Copy link
Copy Markdown

PR Summary

Upgraded org.springframework:spring-core from 6.2.6 to 6.2.11 to remediate CVE-2025-41249. The change updates the dependency in pom.xml (within dependencyManagement) to tighten handling of untrusted input and reduce the attack surface. No behavioral changes expected.

Changes

File Summary
pom.xml Pinned org.springframework:spring-core to version 6.2.11 in dependencyManagement to remediate CVE-2025-41249; adds an explicit dependency entry for Spring Core.

autogenerated by presubmit.ai

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM!

Review Summary

Commits Considered (1)

org
Resolves CVE-2025-41249

Files Processed (1)
  • pom.xml (1 hunk)
Actionable Comments (0)
Skipped Comments (1)
  • pom.xml [374-378]

    possible issue: "Ensure dependencyManagement upgrade actually takes effect"

@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.59%. Comparing base (22a3412) to head (6fa11c9).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3580      +/-   ##
============================================
+ Coverage     83.54%   83.59%   +0.05%     
- Complexity     4212     4213       +1     
============================================
  Files          1107     1107              
  Lines         14907    14907              
  Branches        704      704              
============================================
+ Hits          12454    12462       +8     
+ Misses         2160     2154       -6     
+ Partials        293      291       -2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant