Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.axis2/axis2
  4. ›
  5. CVE-2012-5785

CVE-2012-5785: Improper Input Validation

May 17, 2022 (updated July 12, 2022)

Apache Axis2/Java 1.6.2 and earlier does not verify that the server hostname matches a domain name in the subject’s Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.

References

  • www.cs.utexas.edu/~shmat/shmat_ccs12.pdf
  • exchange.xforce.ibmcloud.com/vulnerabilities/79830
  • github.com/advisories/GHSA-wwq7-pxwc-p4rc
  • issues.apache.org/jira/browse/AXIS2-6018
  • nvd.nist.gov/vuln/detail/CVE-2012-5785

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.6.2

Fixed versions

  • 1.8.0

Solution

Upgrade to version 1.8.0 or above.

Impact 5.8 MEDIUM

AV:N/AC:M/Au:N/C:P/I:P/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

maven/org.apache.axis2/axis2/CVE-2012-5785.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:51 +0000.