WaratekVRT Sign in

CVE-2012-0838 Apache Struts

Affected softwareApache Struts
Severity10.0 High CVSS 2.0
Fixed in2.2.3.1
WeaknessImproper input validation (CWE-20)
Published2 Mar 2012
Updated16 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 14 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 14% chance in 30 days A model's forecast, not a report of exploitation. Higher than 97% of all scored CVEs.

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: apache/struts 25e5006.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.struts:struts2-core 0 2.2.3.1 unbounded
org.apache.struts.xwork:xwork-core 0 2.2.3.1 unbounded

Products and versions

3 products, 3 version entries
SourceVendorProductSchemeAffected versions
nvd apache struts generic ≥ 2.0.0 and ≤ 2.2.3
osv org.apache.struts struts2-core generic < 2.2.3.1
osv org.apache.struts.xwork xwork-core generic < 2.2.3.1

References

URLTags
https://github.com/apache/struts/commit/25e50069d60434a30395e3a98357ffba2bed427e WEB
https://github.com/apache/struts/commit/5f54b8d087f5125d96838aafa5f64c2190e6885b WEB
https://github.com/apache/struts/commit/b4265d369dc29d57a9f2846a85b26598e83f3892 WEB
https://github.com/apache/struts PACKAGE
https://issues.apache.org/jira/browse/WW-3668 WEB
http://jvn.jp/en/jp/JVN79099262/index.html WEB
http://jvndb.jvn.jp/jvndb/JVNDB-2012-000012 WEB
http://struts.apache.org/2.3.1.2/docs/s2-007.html WEB

Timeline

Published2012-03-02By the CVE Program.
NVD record modified2026-06-16NVD's own last-modified date for this record.