Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.struts/struts2-core
  4. ›
  5. CVE-2012-0838

CVE-2012-0838: OGNL expression unexpected evaluation on conversion error

March 2, 2012 (updated December 7, 2018)

This package 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.

References

  • struts.apache.org/docs/s2-007.html

Code Behaviors & Features

Detect and mitigate CVE-2012-0838 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2-alpha0 up to 2.2.3

Fixed versions

  • 2.2.3.1

Solution

Upgrade to version 2.2.3.1 or above.

Impact 10 CRITICAL

AV:N/AC:L/Au:N/C:C/I:C/A:C

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

maven/org.apache.struts/struts2-core/CVE-2012-0838.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:35 +0000.