High severityNVD Advisory· Published Mar 2, 2012· Updated Jun 16, 2026
CVE-2012-0838
CVE-2012-0838
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.struts:struts2-coreMaven | < 2.2.3.1 | 2.2.3.1 |
org.apache.struts.xwork:xwork-coreMaven | < 2.2.3.1 | 2.2.3.1 |
Affected products
3- ghsa-coords2 versions
< 2.2.3.1+ 1 more
- (no CPE)range: < 2.2.3.1
- (no CPE)range: < 2.2.3.1
Patches
Vulnerability mechanics
References
9- jvn.jp/en/jp/JVN79099262/index.htmlnvdThird Party AdvisoryVDB EntryWEB
- jvndb.jvn.jp/jvndb/JVNDB-2012-000012nvdThird Party AdvisoryVDB EntryWEB
- struts.apache.org/2.3.1.2/docs/s2-007.htmlnvdVendor AdvisoryWEB
- github.com/advisories/GHSA-mwrx-hx6x-3hhvghsaADVISORY
- issues.apache.org/jira/browse/WW-3668nvdIssue TrackingVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2012-0838ghsaADVISORY
- github.com/apache/struts/commit/25e50069d60434a30395e3a98357ffba2bed427eghsaWEB
- github.com/apache/struts/commit/5f54b8d087f5125d96838aafa5f64c2190e6885bghsaWEB
- github.com/apache/struts/commit/b4265d369dc29d57a9f2846a85b26598e83f3892ghsaWEB
News mentions
0No linked articles in our index yet.