GitHub Advisoryadvisory · PyPI

GHSA-6748-36qp-fx6r PyOpenSSL Mishandles NUL Byte In Certificate Subject Alternative Name

HIGH Published 2022-05-17 Modified 2024-10-24 Official page ↗
Aliases
CVE-2013-4314
Ecosystem
PyPI
Packages
pyOpenSSL
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-20
Reviewed
2024-02-23

Affected packages

• PyPI pyOpenSSL: < 0.13.1 → fixed in 0.13.1

Description

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.

Related

Alias · CVE (1)

  • CVE-2013-4314 The X509Extension in pyOpenSSL before 0.13.1 does not properly handle a '\0' character in a domain name in the Subject Alternative Name… vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References