Missing initialization of resource in Python
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 33 fixed, 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| The Python Project | Python | 3.8, 3.7, 3.6, 3.5, 3.4, 2.7 | — | No fix listed | CNA |
- Python VendorThe Python Project Affected 3.8, 3.7, 3.6, 3.5, 3.4, 2.7 Fixed in — No fix listed CNA
CPE configurations NVD · 13
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | 2.7.0 – 2.7.15; 3.4.0 – 3.4.9; 3.5.0 – 3.5.6; 3.6.0 – 3.6.6 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.7.0:*:*:*:*:*:*:* | 3.7.0 | Vulnerable | python-pillow |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* | 30 | Vulnerable | Fedoraproject |
| cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* | 15.1 | Vulnerable | openSUSE |
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:* Versions 2.7.0 – 2.7.15; 3.4.0 – 3.4.9; 3.5.0 – 3.5.6; 3.6.0 – 3.6.6 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.7.0:*:*:*:*:*:*:* Versions 3.7.0 Vulnerable ·python-pillow
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* Versions 30 Vulnerable ·Fedoraproject
- cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* Versions 15.1 Vulnerable ·openSUSE
Remediation
Red Hat 6 advisories
- RHSA-2020:1462 Released 2020-04-14 · Red Hat rating Moderatepython security update
- Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) python-2.7.5-83.el7_6, python-devel-2.7.5-83.el7_6, python-libs-2.7.5-83.el7_6
- Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.6) python-debug-2.7.5-83.el7_6, python-test-2.7.5-83.el7_6, python-tools-2.7.5-83.el7_6 +1
- Red Hat Enterprise Linux Server EUS (v. 7.6) python-2.7.5-83.el7_6, python-devel-2.7.5-83.el7_6, python-libs-2.7.5-83.el7_6 +1
- Red Hat Enterprise Linux Server Optional EUS (v. 7.6) python-debug-2.7.5-83.el7_6, python-test-2.7.5-83.el7_6, python-tools-2.7.5-83.el7_6 +1
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) python-2.7.5-83.el7_6, python-devel-2.7.5-83.el7_6, python-libs-2.7.5-83.el7_6
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) python-debug-2.7.5-83.el7_6, python-test-2.7.5-83.el7_6, python-tools-2.7.5-83.el7_6 +1
- RHSA-2020:1346 Released 2020-04-07 · Red Hat rating Moderatepython security update
- Red Hat Enterprise Linux Server AUS (v. 7.4) python-2.7.5-63.el7_4, python-devel-2.7.5-63.el7_4, python-libs-2.7.5-63.el7_4
- Red Hat Enterprise Linux Server E4S (v. 7.4) python-2.7.5-63.el7_4, python-devel-2.7.5-63.el7_4, python-libs-2.7.5-63.el7_4
- Red Hat Enterprise Linux Server Optional AUS (v. 7.4) python-debug-2.7.5-63.el7_4, python-test-2.7.5-63.el7_4, python-tools-2.7.5-63.el7_4 +1
- Red Hat Enterprise Linux Server Optional E4S (v. 7.4) python-debug-2.7.5-63.el7_4, python-test-2.7.5-63.el7_4, python-tools-2.7.5-63.el7_4 +1
- Red Hat Enterprise Linux Server Optional TUS (v. 7.4) python-debug-2.7.5-63.el7_4, python-test-2.7.5-63.el7_4, python-tools-2.7.5-63.el7_4 +1
- Red Hat Enterprise Linux Server TUS (v. 7.4) python-2.7.5-63.el7_4, python-devel-2.7.5-63.el7_4, python-libs-2.7.5-63.el7_4
- RHSA-2020:1268 Released 2020-04-01 · Red Hat rating Moderatepython security update
- Red Hat Enterprise Linux ComputeNode EUS (v. 7.5) python-2.7.5-74.el7_5, python-devel-2.7.5-74.el7_5, python-libs-2.7.5-74.el7_5
- Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5) python-debug-2.7.5-74.el7_5, python-test-2.7.5-74.el7_5, python-tools-2.7.5-74.el7_5 +1
- Red Hat Enterprise Linux Server EUS (v. 7.5) python-2.7.5-74.el7_5, python-devel-2.7.5-74.el7_5, python-libs-2.7.5-74.el7_5 +1
- Red Hat Enterprise Linux Server Optional EUS (v. 7.5) python-debug-2.7.5-74.el7_5, python-test-2.7.5-74.el7_5, python-tools-2.7.5-74.el7_5 +1
Show 3 more Red Hat advisories
- RHSA-2019:3725 Released 2019-11-06 · Red Hat rating Moderaterh-python36-python security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-python36-python-3.6.9-2.el6, rh-python36-python-debug-3.6.9-2.el6, rh-python36-python-devel-3.6.9-2.el6 +4
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-python36-python-3.6.9-2.el7, rh-python36-python-debug-3.6.9-2.el7, rh-python36-python-devel-3.6.9-2.el7 +4
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-python36-python-3.6.9-2.el7, rh-python36-python-debug-3.6.9-2.el7, rh-python36-python-devel-3.6.9-2.el7 +4
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-python36-python-3.6.9-2.el7, rh-python36-python-debug-3.6.9-2.el7, rh-python36-python-devel-3.6.9-2.el7 +4
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-python36-python-3.6.9-2.el7, rh-python36-python-debug-3.6.9-2.el7, rh-python36-python-devel-3.6.9-2.el7 +4
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-python36-python-3.6.9-2.el6, rh-python36-python-debug-3.6.9-2.el6, rh-python36-python-devel-3.6.9-2.el6 +4
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-python36-python-3.6.9-2.el7, rh-python36-python-debug-3.6.9-2.el7, rh-python36-python-devel-3.6.9-2.el7 +4
- RHSA-2019:2030 Released 2019-08-06 · Red Hat rating Moderatepython security and bug fix update
- Red Hat Enterprise Linux Client (v. 7) python-2.7.5-86.el7, python-libs-2.7.5-86.el7
- Red Hat Enterprise Linux Client Optional (v. 7) python-debug-2.7.5-86.el7, python-devel-2.7.5-86.el7, python-test-2.7.5-86.el7 +2
- Red Hat Enterprise Linux ComputeNode (v. 7) python-2.7.5-86.el7, python-devel-2.7.5-86.el7, python-libs-2.7.5-86.el7
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) python-debug-2.7.5-86.el7, python-test-2.7.5-86.el7, python-tools-2.7.5-86.el7 +1
- Red Hat Enterprise Linux Server (v. 7) python-2.7.5-86.el7, python-devel-2.7.5-86.el7, python-libs-2.7.5-86.el7 +1
- Red Hat Enterprise Linux Server Optional (v. 7) python-debug-2.7.5-86.el7, python-test-2.7.5-86.el7, python-tools-2.7.5-86.el7 +1
- Red Hat Enterprise Linux Workstation (v. 7) python-2.7.5-86.el7, python-devel-2.7.5-86.el7, python-libs-2.7.5-86.el7
- Red Hat Enterprise Linux Workstation Optional (v. 7) python-debug-2.7.5-86.el7, python-test-2.7.5-86.el7, python-tools-2.7.5-86.el7 +1
- RHSA-2019:1260 Released 2019-05-22 · Red Hat rating Importantpython27-python and python27-python-jinja2 security and bug fix update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) python27-python-2.7.16-4.el6, python27-python-debug-2.7.16-4.el6, python27-python-devel-2.7.16-4.el6 +5
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) python27-python-2.7.16-4.el7, python27-python-debug-2.7.16-4.el7, python27-python-devel-2.7.16-4.el7 +5
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) python27-python-2.7.16-4.el7, python27-python-debug-2.7.16-4.el7, python27-python-devel-2.7.16-4.el7 +5
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) python27-python-2.7.16-4.el7, python27-python-debug-2.7.16-4.el7, python27-python-devel-2.7.16-4.el7 +5
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) python27-python-2.7.16-4.el7, python27-python-debug-2.7.16-4.el7, python27-python-devel-2.7.16-4.el7 +5
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) python27-python-2.7.16-4.el6, python27-python-debug-2.7.16-4.el6, python27-python-devel-2.7.16-4.el6 +5
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) python27-python-2.7.16-4.el7, python27-python-debug-2.7.16-4.el7, python27-python-devel-2.7.16-4.el7 +5
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Will not fix |
| Red Hat Software Collections | Affected | No fix planned: Will not fix |
| Red Hat Ansible Tower 3.4 for RHEL 7 Server | Fixed | — |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2019:2030 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2019:2030 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2019:2030 |
| Red Hat Enterprise Linux ComputeNode EUS (v. 7.5) | Fixed | RHSA-2020:1268 |
| Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) | Fixed | RHSA-2020:1462 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2019:2030 |
| Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5) | Fixed | RHSA-2020:1268 |
| Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.6) | Fixed | RHSA-2020:1462 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2019:2030 |
| Red Hat Enterprise Linux Server AUS (v. 7.4) | Fixed | RHSA-2020:1346 |
| Red Hat Enterprise Linux Server E4S (v. 7.4) | Fixed | RHSA-2020:1346 |
| Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2020:1268 |
| Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2020:1462 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2019:2030 |
| Red Hat Enterprise Linux Server Optional AUS (v. 7.4) | Fixed | RHSA-2020:1346 |
| Red Hat Enterprise Linux Server Optional E4S (v. 7.4) | Fixed | RHSA-2020:1346 |
| Red Hat Enterprise Linux Server Optional EUS (v. 7.5) | Fixed | RHSA-2020:1268 |
| Red Hat Enterprise Linux Server Optional EUS (v. 7.6) | Fixed | RHSA-2020:1462 |
| Red Hat Enterprise Linux Server Optional TUS (v. 7.4) | Fixed | RHSA-2020:1346 |
| Red Hat Enterprise Linux Server TUS (v. 7.4) | Fixed | RHSA-2020:1346 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2019:2030 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2019:2030 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Fixed | RHSA-2020:1462 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) | Fixed | RHSA-2020:1462 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2019:1260, RHSA-2019:3725 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2019:1260, RHSA-2019:3725 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Fixed | RHSA-2019:1260 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2019:1260, RHSA-2019:3725 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2019:1260, RHSA-2019:3725 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) | Fixed | RHSA-2019:3725 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2019:1260, RHSA-2019:3725 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2019:1260, RHSA-2019:3725 |
Not affected: 1 product
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2018-14647
- 2026-10-03 Alias added: GHSA-gvw2-fvqg-v8mm
- 2026-10-07 CISA SSVC decision points changed
References
Advisory 12
- DSA-4306
- USN-3817-2
- DSA-4307
- USN-3817-1
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14647
- FEDORA-2019-0c91ce7b3c
- RHSA-2019:1260
- [debian-lts-announce] 20190625 [SECURITY] [DLA 1834-1] python2.7 security update
- [debian-lts-announce] 20190625 [SECURITY] [DLA 1835-1] python3.4 security update
- RHSA-2019:2030
- RHSA-2019:3725
- openSUSE-SU-2020:0086
Sources
- CVE-2018-14647 · CVE Program
- CVE-2018-14647 · NVD
- FIRST EPSS
- GHSA-gvw2-fvqg-v8mm · GitHub Advisory Database · CC BY 4.0
- CVE-2018-14647 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences