CVE-2012-5783
Improper Certificate Validation in Apache Commons HttpClient
Description
Apache Commons HttpClient 3.x, as used in Amazon Flexible Payments Service (FPS) merchant Java SDK and other products, 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.
Note that the Commons HttpClient project is end of life. It has been replaced by the Apache HttpComponents project in its HttpClient and HttpCore modules. CVE-2012-5783 has been patched in v4.0 of the Apache HttpComponents HttpClient module.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| commons-httpclient » commons-httpclient | >= 3.0 | - |
Blast radius
64% of the dependent artifacts (25,923) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 128,570 |
| 2 hops | 1,006,076 |
| 3 hops | 826,192 |
| 4 hops | 611,927 |
| 5 hops | 330,102 |
| 6 hops | 232,523 |
Most used dependents
- org.apache.maven.plugins » maven-compiler-plugin126,333 usages
- org.apache.maven.plugins » maven-javadoc-plugin84,916 usages
- org.apache.maven.plugins » maven-surefire-plugin67,265 usages
- org.apache.maven.plugins » maven-jar-plugin59,787 usages
- org.apache.felix » maven-bundle-plugin31,882 usages
- org.apache.maven.plugins » maven-release-plugin29,114 usages
- org.apache.maven.plugins » maven-assembly-plugin28,314 usages
- org.apache.maven.plugins » maven-dependency-plugin26,231 usages
- org.apache.maven.plugins » maven-resources-plugin22,649 usages
- org.codehaus.mojo » build-helper-maven-plugin22,347 usages
- org.jacoco » jacoco-maven-plugin19,077 usages
- org.apache.maven.plugins » maven-enforcer-plugin16,359 usages
- org.apache.maven.plugins » maven-checkstyle-plugin11,720 usages
- org.apache.maven.plugins » maven-failsafe-plugin11,158 usages
- org.apache.maven.plugins » maven-site-plugin9,107 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2012-5783
- Webhttps://access.redhat.com/errata/RHSA-2017:0868
- Webhttps://exchange.xforce.ibmcloud.com/vulnerabilities/79984
- Packagehttps://github.com/apache/httpcomponents-client
- Webhttps://issues.apache.org/jira/browse/HTTPCLIENT-1265
- Webhttp://lists.opensuse.org/opensuse-updates/2013-02/msg00078.html
- Webhttp://lists.opensuse.org/opensuse-updates/2013-04/msg00040.html
- Webhttp://lists.opensuse.org/opensuse-updates/2013-04/msg00041.html
- Webhttp://lists.opensuse.org/opensuse-updates/2013-04/msg00053.html
- Webhttp://rhn.redhat.com/errata/RHSA-2013-0270.html
- Webhttp://rhn.redhat.com/errata/RHSA-2013-0679.html
- Webhttp://rhn.redhat.com/errata/RHSA-2013-0680.html
- Webhttp://rhn.redhat.com/errata/RHSA-2013-0682.html
- Webhttp://rhn.redhat.com/errata/RHSA-2013-1853.html
- Webhttp://rhn.redhat.com/errata/RHSA-2014-0224.html
- Webhttp://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf
- Webhttp://www.ubuntu.com/usn/USN-2769-1
