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

CVE-2012-6153: Improper Input Validation

October 17, 2018 (updated August 31, 2021)

http/conn/ssl/AbstractVerifier.java in Apache Commons HttpClient before 4.2.3 does not properly 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 a certificate with a subject that specifies a common name in a field that is not the CN field. NOTE: this issue exists because of an incomplete fix for CVE-2012-5783.

References

  • rhn.redhat.com/errata/RHSA-2014-1098.html
  • rhn.redhat.com/errata/RHSA-2014-1833.html
  • rhn.redhat.com/errata/RHSA-2014-1834.html
  • rhn.redhat.com/errata/RHSA-2014-1835.html
  • rhn.redhat.com/errata/RHSA-2014-1836.html
  • rhn.redhat.com/errata/RHSA-2014-1891.html
  • rhn.redhat.com/errata/RHSA-2014-1892.html
  • rhn.redhat.com/errata/RHSA-2015-0125.html
  • rhn.redhat.com/errata/RHSA-2015-0158.html
  • rhn.redhat.com/errata/RHSA-2015-0675.html
  • rhn.redhat.com/errata/RHSA-2015-0720.html
  • rhn.redhat.com/errata/RHSA-2015-0765.html
  • rhn.redhat.com/errata/RHSA-2015-0850.html
  • rhn.redhat.com/errata/RHSA-2015-0851.html
  • rhn.redhat.com/errata/RHSA-2015-1888.html
  • svn.apache.org/viewvc?view=revision&revision=1411705
  • www.securityfocus.com/bid/69257
  • www.ubuntu.com/usn/USN-2769-1
  • access.redhat.com/solutions/1165533
  • bugzilla.redhat.com/show_bug.cgi?id=1129916
  • github.com/advisories/GHSA-2x83-r56g-cv47
  • h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05103564
  • nvd.nist.gov/vuln/detail/CVE-2012-6153

Code Behaviors & Features

Detect and mitigate CVE-2012-6153 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 before 4.2.3

Fixed versions

  • 4.2.3

Solution

Upgrade to version 4.2.3 or above.

Impact 4.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

maven/org.apache.httpcomponents/httpclient/CVE-2012-6153.yml

Spotted a mistake? Edit the file on GitLab.

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

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