CriticalGHSA-wp4h-pvgw-5727CVE-2019-0230
Improperly Controlled Modification of Dynamically-Determined Object Attributes in Apache Struts
Published 2 Dec 2021 · Updated 8 Nov 2023
Is your project on an affected org.apache.struts:struts2-core?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- >=2.0.0 <2.5.22
- Fixed in
- 2.5.22
Update to the fixed version for your release line, for example:
mvn versions:use-dep-version -Dincludes=org.apache.struts:struts2-core -DdepVersion=2.5.22 -DforceVersion=trueDetails
Apache Struts 2.0.0 to 2.5.20 forced double OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution.
Is GHSA-wp4h-pvgw-5727 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.struts:struts2-core, and gives you the command that fixes it.
More advisories for org.apache.struts:struts2-core
- HighCVE-2025-68493Apache Struts 2 is Missing XML Validation · 11 Jan 2026
- HighCVE-2025-66675Apache Struts has a Denial of Service vulnerability · 10 Dec 2025
- HighCVE-2025-64775Apache Struts is Vulnerable to DoS via File Leak · 1 Dec 2025
- CriticalCVE-2024-53677Apache Struts file upload logic is flawed · 11 Dec 2024
- CriticalCVE-2023-50164Apache Struts vulnerable to path traversal · 7 Dec 2023
- HighCVE-2023-41835Apache Struts Improper Control of Dynamically-Managed Code Resources vulnerability · 5 Dec 2023
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2019-0230
- Linkcwiki.apache.org/confluence/display/ww/s2-059
- Packagegithub.com/apache/struts
- Linklaunchpad.support.sap.com/#/notes/2982840
- Linklists.apache.org/thread.html/r1125f3044a0946d1e7e6f125a6170b58d413ebd4a95157e4608041c7@%3Cannounce.apache.org%3E
- Linklists.apache.org/thread.html/r90890afea72a9571d666820b2fe5942a0a5f86be406fa31da3dd0922@%3Cannounce.apache.org%3E
- Linkwww.oracle.com/security-alerts/cpuApr2021.html
- Linkwww.oracle.com/security-alerts/cpujan2021.html
- Linkwww.oracle.com/security-alerts/cpuoct2021.html
- Linkpacketstormsecurity.com/files/160108/Apache-Struts-2.5.20-Double-OGNL-Evaluation.html
- Linkpacketstormsecurity.com/files/160721/Apache-Struts-2-Forced-Multi-OGNL-Evaluation.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.