CVE-2012-0838
highpriority · attend · 45EPSS 0.137 · 96 %ileEURUUSEPSS · scored 2026-10-27
Apache Struts 2 before 2.2.3.1 evaluates a string as an OGNL expression during the handling of a conversion error, which allows remote attackers to modify run-time data values, and consequently execute arbitrary code, via invalid input to a field.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.5–10
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (7)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-mwrx-hx6x-3hhvApache Struts Code injection due to conversion error2022-05-14ghsa · osvUS
Apache Struts 2 before 2.2.3.1 evaluates a string as an OGNL expression during the handling of a conversion error, which allows remote attackers to modify run-time data values, and consequently execute arbitrary code, via invalid input to a field.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- http://jvn.jp/en/jp/JVN79099262/index.htmlcnnvd
- http://jvndb.jvn.jp/jvndb/JVNDB-2012-000012cnnvd
- http://struts.apache.org/2.3.1.2/docs/s2-007.htmlcnnvd
- http://struts.apache.org/downloads.htmlPatchcnnvd
- https://issues.apache.org/jira/browse/WW-3668cnnvd
- http://jvn.jp/en/jp/JVN79099262/index.htmlenisa_euvd
- http://jvndb.jvn.jp/jvndb/JVNDB-2012-000012enisa_euvd
- http://struts.apache.org/2.3.1.2/docs/s2-007.htmlenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan