Security mailing lists by PureSourceCode

CVE-2012-0838

HIGH 10.0CVSS 2.0

Apache Struts Code injection due to conversion error

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.

Published
2 Mar 2012
Last modified
16 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-20
Also known as
GHSA-mwrx-hx6x-3hhv
Sources
NVDJSONOSV GHSA-mwrx-hx6x-3hhvJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 10.0 AV:N/AC:L/Au:N/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache struts
cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*
>= 2.0.0, <= 2.2.3
OSV Maven org.apache.struts:struts2-core < 2.2.3.1 2.2.3.1
OSV Maven org.apache.struts.xwork:xwork-core < 2.2.3.1 2.2.3.1

References

History

  • 25 Nov 2026 20:16 UTC · NVD: first stored (published 2 Mar 2012)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.