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

CVE-2012-5785: Apache Axis2 has Improper Input Validation

May 17, 2022 (updated December 4, 2025)

Apache Axis2/Java 1.7.9 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

  • exchange.xforce.ibmcloud.com/vulnerabilities/79830
  • github.com/advisories/GHSA-wwq7-pxwc-p4rc
  • github.com/apache/axis-axis2-java-core
  • 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 before 1.8.0

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-transport-http/CVE-2012-5785.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 07 Dec 2025 12:18:28 +0000.