BSD Ports

httpclient -- Improper Certificate Validation

· CVE-2012-5783 · VuXML entry

MITRE reports: Apache Commons HttpClient 3.x, as used in ..., 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.

Affected versions

By system

2 still vulnerable, 0 fixed. Where VuXML applies (FreeBSD, DragonFly, FreeBSD's derivatives) a port is vulnerable while its version is in a range; pkgsrc says itself whether it lists a CVE of this advisory; OpenBSD and MidnightBSD keep no list this site reads, so their row is only an estimate: FreeBSD's ranges applied to upstream's version.

SystemPortVersionStateFixed
DragonFlyjava/apache-commons-httpclient3.1_3 vulnerable since 2026-07-10
MidnightBSDjava/apache-commons-httpclient3.1_4 in range, by version
FreeBSDjava/apache-commons-httpclient3.1_7 vulnerable since 2026-07-10