CVE-2018-14647
python: Missing salt initialization in _elementtree.c module
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-335, CWE-665, CWE-909
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 21 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | python +6 | 2.7.5-86.0.1.el7 |
Red Hat 1 release · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | python27-python-jinja2 | 0:2.6-15.el7 | RHSA-2019:1260 |
| 7 | python27-python +6 | 0:2.7.16-4.el7 | RHSA-2019:1260 |
| 7 | python +6 | 0:2.7.5-63.el7_4 | RHSA-2020:1346 |
| 7 | python +6 | 0:2.7.5-74.el7_5 | RHSA-2020:1268 |
| 7 | python +6 | 0:2.7.5-83.el7_6 | RHSA-2020:1462 |
| 7 | python +6 | 0:2.7.5-86.el7 | RHSA-2019:2030 |
1 more row
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libpython3-4m1-0 +7 | 3.4.10-25.52.1 | SUSE-SU-2020:2699-1 |
debian 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | python2-7 | 2.7.15-5 |
| 9 | python2-7 | 2.7.13-2+deb9u3 |
| 9 | python3-5 | 3.5.3-1+deb9u1 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | python +6 | 2.7.18-8.1 | openSUSE-SU-2024:11202-1 |
| Tumbleweed | python36 +5 | 3.6.15-1.1 | openSUSE-SU-2024:11284-1 |
seal Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | python +1 | 2.7.5-92.el7_9+sp999 |
ubuntu 2 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | python2-7 | 2.7.15~rc1-1ubuntu0.1 |
| 18.04 | python3-6 | 3.6.7-1~18.04 |
| 18.04 | python3-7 | 3.7.1-1~18.04 |
| 18.04-ESM | python2-7 | 2.7.15~rc1-1ubuntu0.1 |
| 18.04-ESM | python3-6 | 3.6.7-1~18.04 |
| 18.04-ESM | python3-7 | 3.7.1-1~18.04 |
References
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- www.securityfocus.com http://www.securityfocus.com/bid/105396
- www.securitytracker.com http://www.securitytracker.com/id/1041740
- access.redhat.com https://access.redhat.com/errata/RHSA-2019:1260
- access.redhat.com https://access.redhat.com/errata/RHSA-2019:2030
- access.redhat.com https://access.redhat.com/errata/RHSA-2019:3725
- access.redhat.com https://access.redhat.com/security/cve/CVE-2018-14647
- bugs.python.org https://bugs.python.org/issue34623
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-14647
- linux.oracle.com https://linux.oracle.com/cve/CVE-2018-14647.html
Show all 24 references
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2019-2030.html
- lists.apache.org https://lists.apache.org/thread.html/r1b103833cb5bc8466e24ff0ecc5e75b45a705334ab6a444e64e840a0%40%3Cissues.bookkeeper.apache.org%3E
- lists.debian.org https://lists.debian.org/debian-lts-announce/2019/06/msg00022.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2019/06/msg00023.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RBJCB2HWOJLP3L7CUQHJHNBHLSVOXJE5/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-14647
- ubuntu.com https://ubuntu.com/security/notices/USN-3817-1
- ubuntu.com https://ubuntu.com/security/notices/USN-3817-2
- ubuntu.com https://ubuntu.com/security/notices/USN-6891-1
- usn.ubuntu.com https://usn.ubuntu.com/3817-1/
- usn.ubuntu.com https://usn.ubuntu.com/3817-2/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2018-14647
- www.debian.org https://www.debian.org/security/2018/dsa-4306
- www.debian.org https://www.debian.org/security/2018/dsa-4307
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.