{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.httpcomponents:httpclient. It affects 1 product.","exploited":"There is no known exploitation of CVE-2012-6153 in the wild and no public exploit code.","fix":"Upgrade org.apache.httpcomponents:httpclient to 4.2.3 or later.","what":"CVE-2012-6153 is a medium-severity vulnerability in n/a, published on 4 Sep 2014. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2012-6153 and fix it if it is affected.\n\nWhat it is: CVE-2012-6153 is a medium-severity vulnerability in n/a, published on 4 Sep 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2012-6153 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.httpcomponents:httpclient (Maven): affected all versions; fixed in 4.2.3\n- org.apache.httpcomponents:httpclient (Maven): affected all versions; fixed in 4.2.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2012-6153/ (Markdown: https://insights.sbomify.com/CVE-2012-6153/index.md)","id":"CVE-2012-6153","markdown":"https://insights.sbomify.com/CVE-2012-6153/index.md","name":"CVE-2012-6153","record":{"aliases":["CLSA-2026-1790009343","DEBIAN-CVE-2012-6153","GHSA-2x83-r56g-cv47","MGASA-2014-0347","RHSA-2014:1098"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Java HTTP client library","requires_auth":"none","summary":"Man-in-the-middle attackers can spoof SSL servers due to improper hostname verification in Apache Commons HttpClient.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"commons-httpclient","vendor":"apache"}],"cvss":{"score":4.3,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","version":"2.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"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.","ecosystems":["Maven","Red Hat:developer_toolset:2.1::el6"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Improper certificate validation in org.apache.httpcomponents:httpclient","id":"CVE-2012-6153","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"security_feature_bypass","year":"2012"},"n_packages":4,"n_references":21,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2012-6154"},"packages":[{"ecosystem":"Maven","fixed":["4.2.3"],"introduced":["0"],"last_affected":[],"package":"org.apache.httpcomponents:httpclient","purl":null,"source":"GHSA-2x83-r56g-cv47"},{"ecosystem":"Maven","fixed":["4.2.3"],"introduced":["0"],"last_affected":[],"package":"org.apache.httpcomponents:httpclient","purl":"pkg:maven/org.apache.httpcomponents/httpclient","source":"GHSA-2x83-r56g-cv47"},{"ecosystem":"Red Hat:developer_toolset:2.1::el6","fixed":["0:4.2.1-6.el6"],"introduced":["0"],"last_affected":[],"package":"devtoolset-2-httpcomponents-client","purl":"pkg:rpm/redhat/devtoolset-2-httpcomponents-client","source":"RHSA-2014:1098"},{"ecosystem":"Red Hat:developer_toolset:2.1::el6","fixed":["0:4.2.1-6.el6"],"introduced":["0"],"last_affected":[],"package":"devtoolset-2-httpcomponents-client-javadoc","purl":"pkg:rpm/redhat/devtoolset-2-httpcomponents-client-javadoc","source":"RHSA-2014:1098"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2012-6152"},"products":["n/a"],"published":"2014-09-04","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Man-in-the-middle attackers can spoof SSL servers due to improper hostname verification in Apache Commons HttpClient.","url":"https://insights.sbomify.com/CVE-2012-6153/"}