CVE-2018-14647
published medium CVSS 3.0 · 5.3python: Missing salt initialization in _elementtree.c module
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| The Python Project | — | Python3.8, 3.7, 3.6, 3.5, 3.4, 2.7 | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2018-1132 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | v3.10 | python2 | Fixed | 2.7.16-r0 | Package fix record |
| Debian | jessie | python2.7 | Advisory build | 2.7.9-2+deb8u3 | DLA-1834-1 |
| Oracle Linux | 7 | pythonaarch64 | Advisory build | 0:2.7.5-86.0.1.el7 | ELSA-2019-2030 |
| Red Hat Enterprise Linux | RHEL-6 | python27-pythonsrc | Advisory build | 2.7.16-4.el6 | RHSA-2019:1260 |
| Alpine Linux | v3.10 | python2-tkinter | Fixed | 2.7.16-r0 | Package fix record |
| Alpine Linux | v3.11 | python2 | Fixed | 2.7.16-r0 | Package fix record |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.11 | python2-tkinter | Fixed | 2.7.16-r0 | Package fix record |
| Alpine Linux | v3.12 | python2 | Fixed | 2.7.16-r0 | Package fix record |
| Alpine Linux | v3.13 | python2 | Fixed | 2.7.16-r0 | Package fix record |
| Alpine Linux | v3.14 | python2 | Fixed | 2.7.16-r0 | Package fix record |
| Alpine Linux | v3.15 | python2 | Fixed | 2.7.16-r0 | Package fix record |
| Alpine Linux | v3.6 | python3 | Fixed | 3.6.8-r0 | Package fix record |
| Alpine Linux | v3.7 | python2 | Fixed | 2.7.15-r2 | Package fix record |
| Alpine Linux | v3.7 | python3 | Fixed | 3.6.8-r0 | Package fix record |
| Alpine Linux | v3.8 | python2 | Fixed | 2.7.15-r2 | Package fix record |
| Alpine Linux | v3.8 | python3 | Fixed | 3.6.8-r0 | Package fix record |
| Alpine Linux | v3.9 | python2 | Fixed | 2.7.16-r0 | Package fix record |
| Debian | jessie | python3.4 | Advisory build | 3.4.2-1+deb8u3 | DLA-1835-1 |
| Debian | stretch | python2.7 | Advisory build | 2.7.13-2+deb9u3 | DSA-4306-1 |
| Debian | stretch | python3.5 | Advisory build | 3.5.3-1+deb9u1 | DSA-4307-1 |
| Oracle Linux | 7 | pythonx86_64 | Advisory build | 0:2.7.5-86.0.1.el7 | ELSA-2019-2030 |
| Oracle Linux | 7 | python-debugaarch64 | Advisory build | 0:2.7.5-86.0.1.el7 | ELSA-2019-2030 |
| Oracle Linux | 7 | python-debugx86_64 | Advisory build | 0:2.7.5-86.0.1.el7 | ELSA-2019-2030 |
| Oracle Linux | 7 | python-develaarch64 | Advisory build | 0:2.7.5-86.0.1.el7 | ELSA-2019-2030 |
| Oracle Linux | 7 | python-develx86_64 | Advisory build | 0:2.7.5-86.0.1.el7 | ELSA-2019-2030 |
| Oracle Linux | 7 | python-libsaarch64 | Advisory build | 0:2.7.5-86.0.1.el7 | ELSA-2019-2030 |
| Oracle Linux | 7 | python-libsx86_64 | Advisory build | 0:2.7.5-86.0.1.el7 | ELSA-2019-2030 |
| Oracle Linux | 7 | python-testaarch64 | Advisory build | 0:2.7.5-86.0.1.el7 | ELSA-2019-2030 |
| Oracle Linux | 7 | python-testx86_64 | Advisory build | 0:2.7.5-86.0.1.el7 | ELSA-2019-2030 |
| Oracle Linux | 7 | python-toolsaarch64 | Advisory build | 0:2.7.5-86.0.1.el7 | ELSA-2019-2030 |
| Oracle Linux | 7 | python-toolsx86_64 | Advisory build | 0:2.7.5-86.0.1.el7 | ELSA-2019-2030 |
| Oracle Linux | 7 | tkinteraarch64 | Advisory build | 0:2.7.5-86.0.1.el7 | ELSA-2019-2030 |
| Oracle Linux | 7 | tkinterx86_64 | Advisory build | 0:2.7.5-86.0.1.el7 | ELSA-2019-2030 |
| Red Hat Enterprise Linux | RHEL-6 | python27-pythonx86_64 | Advisory build | 2.7.16-4.el6 | RHSA-2019:1260 |
| Red Hat Enterprise Linux | RHEL-6 | python27-python-debugx86_64 | Advisory build | 2.7.16-4.el6 | RHSA-2019:1260 |
| Red Hat Enterprise Linux | RHEL-6 | python27-python-debuginfox86_64 | Advisory build | 2.7.16-4.el6 | RHSA-2019:1260 |
| Red Hat Enterprise Linux | RHEL-6 | python27-python-develx86_64 | Advisory build | 2.7.16-4.el6 | RHSA-2019:1260 |
| Red Hat Enterprise Linux | RHEL-6 | python27-python-jinja2noarch | Advisory build | 2.6-12.el6 | RHSA-2019:1260 |
| Red Hat Enterprise Linux | RHEL-6 | python27-python-jinja2src | Advisory build | 2.6-12.el6 | RHSA-2019:1260 |
| Red Hat Enterprise Linux | RHEL-6 | python27-python-libsx86_64 | Advisory build | 2.7.16-4.el6 | RHSA-2019:1260 |
| Red Hat Enterprise Linux | RHEL-6 | python27-python-testx86_64 | Advisory build | 2.7.16-4.el6 | RHSA-2019:1260 |
| Red Hat Enterprise Linux | RHEL-6 | python27-python-toolsx86_64 | Advisory build | 2.7.16-4.el6 | RHSA-2019:1260 |
| Red Hat Enterprise Linux | RHEL-6 | python27-tkinterx86_64 | Advisory build | 2.7.16-4.el6 | RHSA-2019:1260 |
| Red Hat Enterprise Linux | RHEL-6 | rh-python36-pythonsrc | Advisory build | 3.6.9-2.el6 | RHSA-2019:3725 |
| Red Hat Enterprise Linux | RHEL-6 | rh-python36-pythonx86_64 | Advisory build | 3.6.9-2.el6 | RHSA-2019:3725 |
| Red Hat Enterprise Linux | RHEL-6 | rh-python36-python-debugx86_64 | Advisory build | 3.6.9-2.el6 | RHSA-2019:3725 |
| Red Hat Enterprise Linux | RHEL-6 | rh-python36-python-debuginfox86_64 | Advisory build | 3.6.9-2.el6 | RHSA-2019:3725 |
| Red Hat Enterprise Linux | RHEL-6 | rh-python36-python-develx86_64 | Advisory build | 3.6.9-2.el6 | RHSA-2019:3725 |
| Red Hat Enterprise Linux | RHEL-6 | rh-python36-python-libsx86_64 | Advisory build | 3.6.9-2.el6 | RHSA-2019:3725 |
| Red Hat Enterprise Linux | RHEL-6 | rh-python36-python-testx86_64 | Advisory build | 3.6.9-2.el6 | RHSA-2019:3725 |
| Red Hat Enterprise Linux | RHEL-6 | rh-python36-python-tkinterx86_64 | Advisory build | 3.6.9-2.el6 | RHSA-2019:3725 |
| Red Hat Enterprise Linux | RHEL-6 | rh-python36-python-toolsx86_64 | Advisory build | 3.6.9-2.el6 | RHSA-2019:3725 |
| Red Hat Enterprise Linux | RHEL-7 | pythonppc64 | Advisory build | 2.7.5-74.el7_5 | RHSA-2020:1268 |
| Red Hat Enterprise Linux | RHEL-7 | pythonppc64 | Advisory build | 2.7.5-83.el7_6 | RHSA-2020:1462 |
| Red Hat Enterprise Linux | RHEL-7 | pythonppc64 | Advisory build | 2.7.5-86.el7 | RHSA-2019:2030 |
| Red Hat Enterprise Linux | RHEL-7 | pythonppc64le | Advisory build | 2.7.5-63.el7_4 | RHSA-2020:1346 |
| Red Hat Enterprise Linux | RHEL-7 | pythonppc64le | Advisory build | 2.7.5-74.el7_5 | RHSA-2020:1268 |
| Red Hat Enterprise Linux | RHEL-7 | pythonppc64le | Advisory build | 2.7.5-83.el7_6 | RHSA-2020:1462 |
| Red Hat Enterprise Linux | RHEL-7 | pythonppc64le | Advisory build | 2.7.5-86.el7 | RHSA-2019:2030 |
| Red Hat Enterprise Linux | RHEL-7 | pythons390x | Advisory build | 2.7.5-74.el7_5 | RHSA-2020:1268 |
| Red Hat Enterprise Linux | RHEL-7 | pythons390x | Advisory build | 2.7.5-83.el7_6 | RHSA-2020:1462 |
| Red Hat Enterprise Linux | RHEL-7 | pythons390x | Advisory build | 2.7.5-86.el7 | RHSA-2019:2030 |
| Red Hat Enterprise Linux | RHEL-7 | pythonsrc | Advisory build | 2.7.5-63.el7_4 | RHSA-2020:1346 |
| Red Hat Enterprise Linux | RHEL-7 | pythonsrc | Advisory build | 2.7.5-74.el7_5 | RHSA-2020:1268 |
| Red Hat Enterprise Linux | RHEL-7 | pythonsrc | Advisory build | 2.7.5-83.el7_6 | RHSA-2020:1462 |
| Red Hat Enterprise Linux | RHEL-7 | pythonsrc | Advisory build | 2.7.5-86.el7 | RHSA-2019:2030 |
| Red Hat Enterprise Linux | RHEL-7 | pythonx86_64 | Advisory build | 2.7.5-63.el7_4 | RHSA-2020:1346 |
| Red Hat Enterprise Linux | RHEL-7 | pythonx86_64 | Advisory build | 2.7.5-74.el7_5 | RHSA-2020:1268 |
| Red Hat Enterprise Linux | RHEL-7 | pythonx86_64 | Advisory build | 2.7.5-83.el7_6 | RHSA-2020:1462 |
| Red Hat Enterprise Linux | RHEL-7 | pythonx86_64 | Advisory build | 2.7.5-86.el7 | RHSA-2019:2030 |
| Red Hat Enterprise Linux | RHEL-7 | python-debugppc64 | Advisory build | 2.7.5-74.el7_5 | RHSA-2020:1268 |
| Red Hat Enterprise Linux | RHEL-7 | python-debugppc64 | Advisory build | 2.7.5-83.el7_6 | RHSA-2020:1462 |
| Red Hat Enterprise Linux | RHEL-7 | python-debugppc64 | Advisory build | 2.7.5-86.el7 | RHSA-2019:2030 |
| Red Hat Enterprise Linux | RHEL-7 | python-debugppc64le | Advisory build | 2.7.5-63.el7_4 | RHSA-2020:1346 |
| Red Hat Enterprise Linux | RHEL-7 | python-debugppc64le | Advisory build | 2.7.5-74.el7_5 | RHSA-2020:1268 |
| Red Hat Enterprise Linux | RHEL-7 | python-debugppc64le | Advisory build | 2.7.5-83.el7_6 | RHSA-2020:1462 |
| Red Hat Enterprise Linux | RHEL-7 | python-debugppc64le | Advisory build | 2.7.5-86.el7 | RHSA-2019:2030 |
| Red Hat Enterprise Linux | RHEL-7 | python-debugs390x | Advisory build | 2.7.5-74.el7_5 | RHSA-2020:1268 |
| Red Hat Enterprise Linux | RHEL-7 | python-debugs390x | Advisory build | 2.7.5-83.el7_6 | RHSA-2020:1462 |
| Red Hat Enterprise Linux | RHEL-7 | python-debugs390x | Advisory build | 2.7.5-86.el7 | RHSA-2019:2030 |
| Red Hat Enterprise Linux | RHEL-7 | python-debugx86_64 | Advisory build | 2.7.5-63.el7_4 | RHSA-2020:1346 |
| Red Hat Enterprise Linux | RHEL-7 | python-debugx86_64 | Advisory build | 2.7.5-74.el7_5 | RHSA-2020:1268 |
| Red Hat Enterprise Linux | RHEL-7 | python-debugx86_64 | Advisory build | 2.7.5-83.el7_6 | RHSA-2020:1462 |
| Red Hat Enterprise Linux | RHEL-7 | python-debugx86_64 | Advisory build | 2.7.5-86.el7 | RHSA-2019:2030 |
| Red Hat Enterprise Linux | RHEL-7 | python-debuginfoi686 | Advisory build | 2.7.5-63.el7_4 | RHSA-2020:1346 |
| Red Hat Enterprise Linux | RHEL-7 | python-debuginfoi686 | Advisory build | 2.7.5-74.el7_5 | RHSA-2020:1268 |
| Red Hat Enterprise Linux | RHEL-7 | python-debuginfoi686 | Advisory build | 2.7.5-83.el7_6 | RHSA-2020:1462 |
| Red Hat Enterprise Linux | RHEL-7 | python-debuginfoi686 | Advisory build | 2.7.5-86.el7 | RHSA-2019:2030 |
| Red Hat Enterprise Linux | RHEL-7 | python-debuginfoppc | Advisory build | 2.7.5-74.el7_5 | RHSA-2020:1268 |
| Red Hat Enterprise Linux | RHEL-7 | python-debuginfoppc | Advisory build | 2.7.5-83.el7_6 | RHSA-2020:1462 |
| Red Hat Enterprise Linux | RHEL-7 | python-debuginfoppc | Advisory build | 2.7.5-86.el7 | RHSA-2019:2030 |
| Red Hat Enterprise Linux | RHEL-7 | python-debuginfoppc64 | Advisory build | 2.7.5-74.el7_5 | RHSA-2020:1268 |
| Red Hat Enterprise Linux | RHEL-7 | python-debuginfoppc64 | Advisory build | 2.7.5-83.el7_6 | RHSA-2020:1462 |
| Red Hat Enterprise Linux | RHEL-7 | python-debuginfoppc64 | Advisory build | 2.7.5-86.el7 | RHSA-2019:2030 |
| Red Hat Enterprise Linux | RHEL-7 | python-debuginfoppc64le | Advisory build | 2.7.5-63.el7_4 | RHSA-2020:1346 |
| Red Hat Enterprise Linux | RHEL-7 | python-debuginfoppc64le | Advisory build | 2.7.5-74.el7_5 | RHSA-2020:1268 |
| Red Hat Enterprise Linux | RHEL-7 | python-debuginfoppc64le | Advisory build | 2.7.5-83.el7_6 | RHSA-2020:1462 |
| Red Hat Enterprise Linux | RHEL-7 | python-debuginfoppc64le | Advisory build | 2.7.5-86.el7 | RHSA-2019:2030 |
| Red Hat Enterprise Linux | RHEL-7 | python-debuginfos390 | Advisory build | 2.7.5-74.el7_5 | RHSA-2020:1268 |
| Red Hat Enterprise Linux | RHEL-7 | python-debuginfos390 | Advisory build | 2.7.5-83.el7_6 | RHSA-2020:1462 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| The Python Project | Python | 3.8, 3.7, 3.6, 3.5, 3.4, 2.7 (affected) | redhat · cna |
Weaknesses
2- CWE-665
- CWE-335
References
16- openSUSE-SU-2020:0086 http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- 105396 http://www.securityfocus.com/bid/105396
- 1041740 http://www.securitytracker.com/id/1041740
- RHSA-2019:1260 https://access.redhat.com/errata/RHSA-2019:1260
- RHSA-2019:2030 https://access.redhat.com/errata/RHSA-2019:2030
- RHSA-2019:3725 https://access.redhat.com/errata/RHSA-2019:3725
- https://bugs.python.org/issue34623
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14647
- [bookkeeper-issues] 20200729 [GitHub] [bookkeeper] padma81 opened a new issue #2387: Security vulnerabilities in the apache/bookkeeper-4.9.2 image https://lists.apache.org/thread.html/r1b103833cb5bc8466e24ff0ecc5e75b45a705334ab6a444e64e840a0%40%3Cissues.bookkeeper.apache.org%3E
- [debian-lts-announce] 20190625 [SECURITY] [DLA 1834-1] python2.7 security update https://lists.debian.org/debian-lts-announce/2019/06/msg00022.html
- [debian-lts-announce] 20190625 [SECURITY] [DLA 1835-1] python3.4 security update https://lists.debian.org/debian-lts-announce/2019/06/msg00023.html
- FEDORA-2019-0c91ce7b3c https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RBJCB2HWOJLP3L7CUQHJHNBHLSVOXJE5/
- USN-3817-1 https://usn.ubuntu.com/3817-1/
- USN-3817-2 https://usn.ubuntu.com/3817-2/
- DSA-4306 https://www.debian.org/security/2018/dsa-4306
- DSA-4307 https://www.debian.org/security/2018/dsa-4307
Provider assertions
3redhat · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 477b5b41819c6b0eda7a13512bdc6fc041dcc43a4e43b15c6928010ee5ea3a80
- Ingested
- 07 Oct 2026, 22:31:56 UTC
- Source record
- Official CVE record