{"id":"GHSA-mwrx-hx6x-3hhv","summary":"Apache Struts Code injection due to conversion error","details":"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.","aliases":["CVE-2012-0838"],"modified":"2024-12-05T05:48:30.729202Z","published":"2022-05-14T01:51:59Z","database_specific":{"cwe_ids":["CWE-20"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-11-03T23:00:54Z","nvd_published_at":"2012-03-02T22:55:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-0838"},{"type":"WEB","url":"https://github.com/apache/struts/commit/25e50069d60434a30395e3a98357ffba2bed427e"},{"type":"WEB","url":"https://github.com/apache/struts/commit/5f54b8d087f5125d96838aafa5f64c2190e6885b"},{"type":"WEB","url":"https://github.com/apache/struts/commit/b4265d369dc29d57a9f2846a85b26598e83f3892"},{"type":"PACKAGE","url":"https://github.com/apache/struts"},{"type":"WEB","url":"https://issues.apache.org/jira/browse/WW-3668"},{"type":"WEB","url":"http://jvn.jp/en/jp/JVN79099262/index.html"},{"type":"WEB","url":"http://jvndb.jvn.jp/jvndb/JVNDB-2012-000012"},{"type":"WEB","url":"http://struts.apache.org/2.3.1.2/docs/s2-007.html"}],"affected":[{"package":{"name":"org.apache.struts:struts2-core","ecosystem":"Maven","purl":"pkg:maven/org.apache.struts/struts2-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.3.1"}]}],"versions":["2.0.11","2.0.11.1","2.0.11.2","2.0.12","2.0.14","2.0.5","2.0.6","2.0.8","2.0.9","2.1.2","2.1.6","2.1.8","2.1.8.1","2.2.1","2.2.1.1","2.2.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-mwrx-hx6x-3hhv/GHSA-mwrx-hx6x-3hhv.json"}},{"package":{"name":"org.apache.struts.xwork:xwork-core","ecosystem":"Maven","purl":"pkg:maven/org.apache.struts.xwork/xwork-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.3.1"}]}],"versions":["2.2.1","2.2.1.1","2.2.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-mwrx-hx6x-3hhv/GHSA-mwrx-hx6x-3hhv.json"}}],"schema_version":"1.9.0"}