Security mailing lists by PureSourceCode

CVE-2013-4314

MEDIUM 4.3CVSS 2.0

PyOpenSSL Mishandles NUL Byte In Certificate Subject Alternative Name

The X509Extension in pyOpenSSL before 0.13.1 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.

Published
30 Sep 2013
Last modified
16 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-20
Also known as
GHSA-6748-36qp-fx6rPYSEC-2013-31
Sources
NVDJSONOSV GHSA-6748-36qp-fx6rJSONOSV PYSEC-2013-31JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD jean-paul_calderone pyopenssl
cpe:2.3:a:jean-paul_calderone:pyopenssl:*:*:*:*:*:*:*:*
<= 0.13
NVD jean-paul_calderone pyopenssl
cpe:2.3:a:jean-paul_calderone:pyopenssl:0.7:*:*:*:*:*:*:*
= 0.7
NVD jean-paul_calderone pyopenssl
cpe:2.3:a:jean-paul_calderone:pyopenssl:0.8:a1:*:*:*:*:*:*
= 0.8
NVD jean-paul_calderone pyopenssl
cpe:2.3:a:jean-paul_calderone:pyopenssl:0.9:*:*:*:*:*:*:*
= 0.9
NVD jean-paul_calderone pyopenssl
cpe:2.3:a:jean-paul_calderone:pyopenssl:0.10:*:*:*:*:*:*:*
= 0.10
NVD jean-paul_calderone pyopenssl
cpe:2.3:a:jean-paul_calderone:pyopenssl:0.11:*:*:*:*:*:*:*
= 0.11
NVD jean-paul_calderone pyopenssl
cpe:2.3:a:jean-paul_calderone:pyopenssl:0.11:a1:*:*:*:*:*:*
= 0.11
NVD jean-paul_calderone pyopenssl
cpe:2.3:a:jean-paul_calderone:pyopenssl:0.11:a2:*:*:*:*:*:*
= 0.11
NVD jean-paul_calderone pyopenssl
cpe:2.3:a:jean-paul_calderone:pyopenssl:0.12:*:*:*:*:*:*:*
= 0.12
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:10.04:-:lts:*:*:*:*:*
= 10.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:12.04:-:lts:*:*:*:*:*
= 12.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:*
= 12.10
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:13.04:*:*:*:*:*:*:*
= 13.04
OSV PyPI pyopenssl < 0.13.1 0.13.1

References

History

  • 25 Nov 2026 20:17 UTC · NVD: first stored (published 30 Sep 2013)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 30 Sep 2013)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.