Update dependency org.apache.struts:struts2-core to v6 [SECURITY] - autoclosed#104
Conversation
Summary
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:
The dependency is scoped as "provided" for test compilation only, so this is primarily a test fixture update. What reviewers should knowWhat to check:
File location:
|
|
Renovate Jira issue ID: JAVASE-218 |
There was a problem hiding this comment.
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).
|





This PR contains the following updates:
2.5.33→6.8.0Apache 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: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:RedReferences
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Configuration
📅 Schedule: (in timezone Europe/Berlin)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.