CVE-2018-14647

NameCVE-2018-14647
DescriptionPython'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. Python 3.8, 3.7, 3.6, 3.5, 3.4, 2.7 are believed to be vulnerable.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-4306-1, DSA-4307-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python2.7 (PTS)jessie2.7.9-2+deb8u1vulnerable
jessie (security)2.7.9-2+deb8u2vulnerable
stretch (security), stretch2.7.13-2+deb9u3fixed
buster, sid2.7.15-5vulnerable
python3.4 (PTS)jessie3.4.2-1vulnerable
jessie (security)3.4.2-1+deb8u1vulnerable
python3.5 (PTS)stretch (security), stretch3.5.3-1+deb9u1fixed
python3.6 (PTS)buster, sid3.6.8~rc1-1fixed
python3.7 (PTS)buster, sid3.7.2~rc1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python2.7source(unstable)(unfixed)
python2.7sourcestretch2.7.13-2+deb9u3DSA-4306-1
python3.4source(unstable)(unfixed)
python3.5source(unstable)(unfixed)
python3.5sourcestretch3.5.3-1+deb9u1DSA-4307-1
python3.6source(unstable)3.6.7~rc1-1
python3.7source(unstable)3.7.0-7

Notes

[jessie] - python3.4 <postponed> (minor issue)
[jessie] - python2.7 <postponed> (minor issue)
https://bugs.python.org/issue34623
master: https://github.com/python/cpython/commit/cb5778f00ce48631c7140f33ba242496aaf7102b
3.7: https://github.com/python/cpython/commit/470a435f3b42c9be5fdb7f7b04f3df5663ba7305
3.6: https://github.com/python/cpython/commit/f7666e828cc3d5873136473ea36ba2013d624fa1
2.7: https://github.com/python/cpython/commit/18b20bad75b4ff0486940fba4ec680e96e70f3a2

Search for package or bug name: Reporting problems