CVE-2013-2037 httplib2 incorrectly checks SSL certificate

Low 2.6 Published Updated

Man-in-the-middle attackers can spoof SSL servers because the library fails to verify hostname matches in X.509 certificates.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2013-2037?

CVE-2013-2037 is a low-severity vulnerability in Canonical Ubuntu Linux, published on 18 Jan 2014. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

httplib2 0.7.2, 0.8, and earlier, after an initial connection is made, 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.

Weakness: CWE-20

Which versions are affected by CVE-2013-2037?

3 open source packages ship an affected version, including httplib2. It affects 2 products.

PackageAffectedFixed in
httplib2 PyPIAll versions0.10.1
httplib2 PyPIAll versions0.10.1
httplib2 PyPIAll versions0.9

Products include Canonical Ubuntu Linux, Httplib2 Project Httplib2.

How do I fix CVE-2013-2037?

Upgrade httplib2 to a fixed version for your release line: 0.10.1 or 0.9.

Is CVE-2013-2037 being exploited?

There is no known exploitation of CVE-2013-2037 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2013-2037, GHSA-q48q-77qv-cf9p, PYSEC-2014-81.

Is CVE-2013-2037 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free