Bug 1666519 (CVE-2019-5010) - CVE-2019-5010 python: NULL pointer dereference using a specially crafted X509 certificate
Summary: CVE-2019-5010 python: NULL pointer dereference using a specially crafted X509...
Status: NEW
Alias: CVE-2019-5010
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,public=20190115,repor...
Keywords: Security
Depends On: 1666788 1666789 1666792 1709396 1666520 1666521 1666522 1666523 1666524 1666525 1666526 1666527 1666790 1666791 1666793
Blocks: 1666528
TreeView+ depends on / blocked
 
Reported: 2019-01-15 21:54 UTC by Laura Pardo
Modified: 2019-06-07 20:04 UTC (History)
6 users (show)

(edit)
A null pointer dereference vulnerability was found in the certificate parsing code in Python. This causes a denial of service to applications when parsing specially crafted certificates. This vulnerability is unlikely to be triggered if application enables SSL/TLS certificate validation and accepts certificates only from trusted root certificate authorities.
Clone Of:
(edit)
Last Closed:


Attachments (Terms of Use)

Description Laura Pardo 2019-01-15 21:54:56 UTC
An exploitable denial-of-service vulnerability exists in the X509 certificate parser of Python.org Python 2.7.11 / 3.7.2. A specially crafted X509 certificate can cause a NULL pointer dereference, resulting in a denial of service. An attacker can initiate or accept TLS connections using crafted certificates to trigger this vulnerability.


References:
https://bugs.python.org/issue35746

Upstream Patch:
https://github.com/python/cpython/pull/11569

Comment 1 Laura Pardo 2019-01-15 21:55:50 UTC
Created python3 tracking bugs for this issue:

Affects: fedora-all [bug 1666522]


Created python33 tracking bugs for this issue:

Affects: fedora-28 [bug 1666524]


Created python34 tracking bugs for this issue:

Affects: epel-all [bug 1666526]
Affects: fedora-all [bug 1666525]


Created python35 tracking bugs for this issue:

Affects: fedora-all [bug 1666527]


Created python36 tracking bugs for this issue:

Affects: epel-7 [bug 1666523]
Affects: fedora-29 [bug 1666520]


Created python37 tracking bugs for this issue:

Affects: fedora-28 [bug 1666521]

Comment 4 Adam Mariš 2019-01-25 15:27:14 UTC
Statement:

This issue did not affect the versions of python as shipped with Red Hat Enterprise Linux 5 and 6.

Comment 5 Adam Mariš 2019-01-25 15:27:15 UTC
External References:

https://python-security.readthedocs.io/vuln/ssl-crl-dps-dos.html


Note You need to log in before you can comment on or make changes to this bug.