CVE-2018-14647
Description
Python's elementtree C accelerator failed to initialise Expat's hash salt during initialization. This could make it easy to conduct denial of service attacks against Expat by constructing an XML document that would cause pathological hash collisions in Expat's internal data structures, consuming large amounts CPU and RAM. The vulnerability exists in Python versions 3.7.0, 3.6.0 through 3.6.6, 3.5.0 through 3.5.6, 3.4.0 through 3.4.9, 2.7.0 through 2.7.15.
Description as published by the source, in English.
Key facts
- Published
- 2018-09-25
- Last modified
- 2026-10-07
- Assigned by
- secalert@redhat.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
11.3 %
higher than 96 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Canonical | Ubuntu Linux | 12.04 | Affected |
| Canonical | Ubuntu Linux | 14.04 | Affected |
| Canonical | Ubuntu Linux | 16.04 | Affected |
| Canonical | Ubuntu Linux | 18.04 | Affected |
| Debian | Debian Linux | 8.0 | Affected |
| Debian | Debian Linux | 9.0 | Affected |
| Fedoraproject | Fedora | 30 | Affected |
| Opensuse | Leap | 15.1 | Affected |
| Python | Python | 3.7.0 | Affected |
| Python | Python | ≥ 2.7.0, ≤ 2.7.15 | Affected |
| Python | Python | ≥ 3.4.0, ≤ 3.4.9 | Affected |
| Python | Python | ≥ 3.5.0, ≤ 3.5.6 | Affected |
| Python | Python | ≥ 3.6.0, ≤ 3.6.6 | Affected |
| Redhat | Enterprise Linux Desktop | 7.0 | Affected |
| Redhat | Enterprise Linux Server | 7.0 | Affected |
| Redhat | Enterprise Linux Workstation | 7.0 | Affected |
Weakness type
-
CWE-909: Missing Initialization of Resource
The product does not initialize a critical resource.
-
CWE-335: Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)
The product uses a Pseudo-Random Number Generator (PRNG) but does not correctly manage seeds.
-
CWE-665: Improper Initialization
The product does not initialize or incorrectly initializes a resource.
References
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- http://www.securityfocus.com/bid/105396
- http://www.securitytracker.com/id/1041740
- https://access.redhat.com/errata/RHSA-2019:1260
- https://access.redhat.com/errata/RHSA-2019:2030
- https://access.redhat.com/errata/RHSA-2019:3725
- https://bugs.python.org/issue34623
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14647
- https://lists.debian.org/debian-lts-announce/2019/06/msg00022.html
- https://lists.debian.org/debian-lts-announce/2019/06/msg00023.html
- https://usn.ubuntu.com/3817-1/
- https://usn.ubuntu.com/3817-2/
- https://www.debian.org/security/2018/dsa-4306
- https://www.debian.org/security/2018/dsa-4307
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- http://www.securityfocus.com/bid/105396
- http://www.securitytracker.com/id/1041740
- https://access.redhat.com/errata/RHSA-2019:1260
- https://access.redhat.com/errata/RHSA-2019:2030
- https://access.redhat.com/errata/RHSA-2019:3725
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.