Advisory

GHSA-6748-36qp-fx6r

Also known as: CVE-2013-4314, PYSEC-2013-31

Summary

PyOpenSSL Mishandles NUL Byte In Certificate Subject Alternative Name

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-17 04:56 UTC
Modified
2024-10-24 22:06 UTC

Affected packages and fixes

pyopenssl

PyPI · All systems

Affected

  • introduced 0, fixed 0.13.1 (ecosystem)

Fixed versions

0.13.1

Fix

  • Fixed version 0.13.1
    pip install --upgrade pyopenssl==0.13.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences