Skip to content

Update dependency org.apache.struts:struts2-core to v6 [SECURITY] - autoclosed#104

Closed
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/maven-org.apache.struts-struts2-core-vulnerability
Closed

Update dependency org.apache.struts:struts2-core to v6 [SECURITY] - autoclosed#104
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/maven-org.apache.struts-struts2-core-vulnerability

Conversation

@renovate

@renovate renovate Bot commented May 6, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
org.apache.struts:struts2-core (source) 2.5.336.8.0 age confidence

Apache Struts file upload logic is flawed

CVE-2024-53677 / GHSA-43mq-6xmg-29vm

More information

Details

File upload logic is flawed vulnerability in Apache Struts. An attacker can manipulate file upload params to enable paths traversal and under some circumstances this can lead to uploading a malicious file which can be used to perform Remote Code Execution.

This issue affects Apache Struts: from 2.0.0 before 6.4.0.

Users are recommended to upgrade to version 6.4.0 at least and migrate to the new file upload mechanism https://struts.apache.org/core-developers/file-upload. If you are not using an old file upload logic based on FileuploadInterceptor your application is safe.

You can find more details in  https://cwiki.apache.org/confluence/display/WW/S2-067 .

Severity

  • CVSS Score: 9.5 / 10 (Critical)
  • Vector String: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/S:N/AU:Y/R:A/V:C/RE:L/U:Red

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Apache Struts has a Denial of Service vulnerability

CVE-2025-66675 / GHSA-rg58-xhh7-mqjw

More information

Details

Denial of Service vulnerability in Apache Struts, file leak in multipart request processing causes disk exhaustion.

This issue affects Apache Struts: from 2.0.0 through 6.7.4, from 7.0.0 through 7.0.3.

Users are recommended to upgrade to version 6.8.0 or 7.1.1, which fixes the issue.

Severity

  • CVSS Score: 8.2 / 10 (High)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Configuration

📅 Schedule: (in timezone Europe/Berlin)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies label May 6, 2026
@renovate renovate Bot requested a review from a team May 6, 2026 12:21
@sonar-review-alpha

sonar-review-alpha Bot commented May 6, 2026

Copy link
Copy Markdown

Summary

⚠️ The PR description exceeded the analysis limit and was truncated. The review may not reflect all context.

This PR bumps the Apache Struts dependency from 2.5.33 to 6.8.0 in the test sources, a major version upgrade driven by two security vulnerabilities:

  • CVE-2024-53677 (CVSS 9.5, Critical): File upload path traversal leading to potential RCE
  • CVE-2025-66675 (CVSS 8.2, High): DoS via file leak in multipart request processing

The dependency is scoped as "provided" for test compilation only, so this is primarily a test fixture update.

What reviewers should know

What to check:

  • The major version jump (2.5.33 → 6.8.0) may have breaking API changes — verify the test sources still compile and run correctly
  • If this project uses the old FileuploadInterceptor from Struts, check whether migration to the new file upload mechanism is needed (author's description mentions this)
  • Since this is in test sources only, no production code is affected, but test compatibility is critical

File location: java-symbolic-execution/java-symbolic-execution-checks-test-sources/pom.xml — the only change is the version number in a single <dependency> block. This is a straightforward bump with no other modifications.


  • Generate Walkthrough
  • Generate Diagram

🗣️ Give feedback

@hashicorp-vault-sonar-prod

hashicorp-vault-sonar-prod Bot commented May 6, 2026

Copy link
Copy Markdown
Contributor

Renovate Jira issue ID: JAVASE-218

@sonar-review-alpha sonar-review-alpha 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! ✅

Clean, low-risk security upgrade. No test fixture .java files in the module import any Struts2 classes — the dependency exists solely for classpath type resolution during compilation. The major version jump (2.x → 6.x) introduces no breaking changes here because there are no usages to break. Version 6.8.0 is the correct target as it satisfies both CVEs (6.4.0 minimum for CVE-2024-53677, 6.8.0 minimum for CVE-2025-66675).

🗣️ Give feedback

@sonarqube-next

sonarqube-next Bot commented May 6, 2026

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

@renovate renovate Bot changed the title Update dependency org.apache.struts:struts2-core to v6 [SECURITY] Update dependency org.apache.struts:struts2-core to v6 [SECURITY] - autoclosed May 8, 2026
@renovate renovate Bot closed this May 8, 2026
@renovate renovate Bot deleted the renovate/maven-org.apache.struts-struts2-core-vulnerability branch May 8, 2026 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants