CVE-2018-14647

Python 3.6 and 2 others: Python's elementtree C accelerator failed to initialise Expat's hash salt during initialization.

CVE-2018-14647 is fixed in 28 products on 2 platforms, first by idle-python2.7 2.7.15~rc1-1ubuntu0.1, released September 23, 2018. 1 other affected product has no fix yet. It is not reported as exploited. Patch Radar priority: High.

HighFixed on 2 platforms
CVSS
7.5
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.1091
95th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Windows apps
Python 3.6 3.6.7 Python 3.6 3.6.7 Oct 20, 2018
Python 3.7 3.7.1 Python 3.7 3.7.1 Oct 20, 2018
Linux
idle-python2.7 · Ubuntu 18.04.6 LTS (bionic) 2.7.15~rc1-1ubuntu0.1 idle-python2.7 2.7.15~rc1-1ubuntu0.1 Sep 23, 2018
idle-python3.6 · Ubuntu 18.04.6 LTS (bionic) 3.6.7-1~18.04 idle-python3.6 3.6.7-1~18.04 Dec 22, 2018
idle-python3.7 · Ubuntu 18.04.6 LTS (bionic) 3.7.1-1~18.04 idle-python3.7 3.7.1-1~18.04 Sep 23, 2018
libpython2.7 · Ubuntu 18.04.6 LTS (bionic) 2.7.15~rc1-1ubuntu0.1 libpython2.7 2.7.15~rc1-1ubuntu0.1 Sep 23, 2018
libpython2.7-minimal · Ubuntu 18.04.6 LTS (bionic) 2.7.15~rc1-1ubuntu0.1 libpython2.7-minimal 2.7.15~rc1-1ubuntu0.1 Sep 23, 2018
libpython2.7-stdlib · Ubuntu 18.04.6 LTS (bionic) 2.7.15~rc1-1ubuntu0.1 libpython2.7-stdlib 2.7.15~rc1-1ubuntu0.1 Sep 23, 2018
libpython2.7-testsuite · Ubuntu 18.04.6 LTS (bionic) 2.7.15~rc1-1ubuntu0.1 libpython2.7-testsuite 2.7.15~rc1-1ubuntu0.1 Sep 23, 2018
libpython3.6 · Ubuntu 18.04.6 LTS (bionic) 3.6.7-1~18.04 libpython3.6 3.6.7-1~18.04 Dec 22, 2018
libpython3.6-minimal · Ubuntu 18.04.6 LTS (bionic) 3.6.7-1~18.04 libpython3.6-minimal 3.6.7-1~18.04 Dec 22, 2018
libpython3.6-stdlib · Ubuntu 18.04.6 LTS (bionic) 3.6.7-1~18.04 libpython3.6-stdlib 3.6.7-1~18.04 Dec 22, 2018
libpython3.6-testsuite · Ubuntu 18.04.6 LTS (bionic) 3.6.7-1~18.04 libpython3.6-testsuite 3.6.7-1~18.04 Dec 22, 2018
libpython3.7 · Ubuntu 18.04.6 LTS (bionic) 3.7.1-1~18.04 libpython3.7 3.7.1-1~18.04 Sep 23, 2018
libpython3.7-minimal · Ubuntu 18.04.6 LTS (bionic) 3.7.1-1~18.04 libpython3.7-minimal 3.7.1-1~18.04 Sep 23, 2018
libpython3.7-stdlib · Ubuntu 18.04.6 LTS (bionic) 3.7.1-1~18.04 libpython3.7-stdlib 3.7.1-1~18.04 Sep 23, 2018
libpython3.7-testsuite · Ubuntu 18.04.6 LTS (bionic) 3.7.1-1~18.04 libpython3.7-testsuite 3.7.1-1~18.04 Sep 23, 2018
python2.7 · Ubuntu 18.04.6 LTS (bionic) 2.7.15~rc1-1ubuntu0.1 python2.7 2.7.15~rc1-1ubuntu0.1 Sep 23, 2018
python2.7-examples · Ubuntu 18.04.6 LTS (bionic) 2.7.15~rc1-1ubuntu0.1 python2.7-examples 2.7.15~rc1-1ubuntu0.1 Sep 23, 2018
python2.7-minimal · Ubuntu 18.04.6 LTS (bionic) 2.7.15~rc1-1ubuntu0.1 python2.7-minimal 2.7.15~rc1-1ubuntu0.1 Sep 23, 2018
python3.6 · Ubuntu 18.04.6 LTS (bionic) 3.6.7-1~18.04 python3.6 3.6.7-1~18.04 Dec 22, 2018
python3.6-examples · Ubuntu 18.04.6 LTS (bionic) 3.6.7-1~18.04 python3.6-examples 3.6.7-1~18.04 Dec 22, 2018
python3.6-minimal · Ubuntu 18.04.6 LTS (bionic) 3.6.7-1~18.04 python3.6-minimal 3.6.7-1~18.04 Dec 22, 2018
python3.6-venv · Ubuntu 18.04.6 LTS (bionic) 3.6.7-1~18.04 python3.6-venv 3.6.7-1~18.04 Dec 22, 2018
python3.7 · Ubuntu 18.04.6 LTS (bionic) 3.7.1-1~18.04 python3.7 3.7.1-1~18.04 Sep 23, 2018
python3.7-examples · Ubuntu 18.04.6 LTS (bionic) 3.7.1-1~18.04 python3.7-examples 3.7.1-1~18.04 Sep 23, 2018
python3.7-minimal · Ubuntu 18.04.6 LTS (bionic) 3.7.1-1~18.04 python3.7-minimal 3.7.1-1~18.04 Sep 23, 2018
python3.7-venv · Ubuntu 18.04.6 LTS (bionic) 3.7.1-1~18.04 python3.7-venv 3.7.1-1~18.04 Sep 23, 2018
No fix yet
Python 3.5 (Windows apps) No fix yet no-fix n/a

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.