All vulnerabilities

Servers and applications

CVE-2013-4238

The ssl.match_hostname function in the SSL module in Python 2.6 through 3.4 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.

Severity
Medium 4.3
Published
18 Aug 2013
Last changed
16 Jun 2026
Added to UpHeron
21 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
PythonServers and applications · cpe:a:python:python
  • Version 3.4-alpha1
  • Version 3.3
  • Version 3.3-beta2
  • Version 3.2.2150
All 32 release lines
  • Version 2.6.1
  • Version 2.6.2
  • Version 2.6.3
  • Version 2.6.4
  • Version 2.6.5
  • Version 2.6.6
  • Version 2.6.7
  • Version 2.6.8
  • Version 2.6.2150
  • Version 2.6.6150
  • Version 2.7.1-rc1
  • Version 2.7.1
  • Version 2.7.2-rc1
  • Version 2.7.3
  • Version 2.7.1150
  • Version 2.7.2150
  • Version 3.0
  • Version 3.0.1
  • Version 3.1
  • Version 3.1.1
  • Version 3.1.2
  • Version 3.1.3
  • Version 3.1.4
  • Version 3.1.5
  • Version 3.1.2150
  • Version 3.2-alpha
  • Version 3.2
  • Version 3.2.3
  • Version 3.2.2150
  • Version 3.3-beta2
  • Version 3.3
  • Version 3.4-alpha1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2013-4238
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2013-4238