# Improper certificate validation in org.apache.httpcomponents:httpclient

Advisory record · `GHSA-2x83-r56g-cv47`

- **Identifiers:** `GHSA-2x83-r56g-cv47` · `CVE-2012-6153`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-20](https://cwe.mitre.org/data/definitions/20.html)
- **Tags:** [CWE-20](https://agentprime.io/advisories/tag/cwe-20.md)
- **Published:** 17 Oct 2018
- **Updated:** 2 Dec 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 17 Oct 2018, 00:05 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.httpcomponents:httpclient` (Maven): affected `<4.2.3`; fixed in `4.2.3`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Apache HttpClient (org.apache.httpcomponents:httpclient) versions before 4.2.3 do not properly check that the server hostname matches the certificate's Common Name or subjectAltName entries. An attacker in a position to intercept traffic (a man-in-the-middle) could present a certificate with a crafted subject and impersonate an SSL server. Upgrade to version 4.2.3 or later.

Written 8 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.058, the 93rd percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:12 UTC: First seen by agentprime
- 31 Oct 2026, 15:12 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-2x83-r56g-cv47)

## Sources

- [GitHub Advisory Database: GHSA-2x83-r56g-cv47](https://github.com/advisories/GHSA-2x83-r56g-cv47)
- [OSV: GHSA-2x83-r56g-cv47](https://osv.dev/vulnerability/GHSA-2x83-r56g-cv47)
- <https://nvd.nist.gov/vuln/detail/CVE-2012-6153>
- <https://github.com/apache/httpcomponents-client/commit/6e14fc146a66e0f3eb362f45f95d1a58ee18886a>
- <https://github.com/apache/httpcomponents-client/commit/b930227f907af1198765fc47beabbddae344ca7b>
- <https://access.redhat.com/solutions/1165533>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1129916>
- <https://github.com/advisories/GHSA-2x83-r56g-cv47>
- <https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05103564>
- <http://rhn.redhat.com/errata/RHSA-2014-1098.html>
- <http://rhn.redhat.com/errata/RHSA-2014-1833.html>
- <http://rhn.redhat.com/errata/RHSA-2014-1834.html>
- <http://rhn.redhat.com/errata/RHSA-2014-1835.html>
- <http://rhn.redhat.com/errata/RHSA-2014-1836.html>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-2x83-r56g-cv47>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-2x83-r56g-cv47/>. Everything for agents: <https://agentprime.io/llms.txt>.
