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. 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-1834-1, DLA-1835-1, DSA-4306-1, DSA-4307-1, ELA-47-1, ELA-48-1
Debian Bugs921039

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python2.7 (PTS)jessie, jessie (lts)2.7.9-2-ds1-1+deb8u12fixed
stretch (security)2.7.13-2+deb9u6fixed
stretch (lts), stretch2.7.13-2+deb9u9fixed
buster (security), buster, buster (lts)2.7.16-2+deb10u4fixed
bullseye2.7.18-8+deb11u1fixed
python3.4 (PTS)jessie, jessie (lts)3.4.2-1+deb8u19fixed
python3.5 (PTS)stretch (security)3.5.3-1+deb9u5fixed
stretch (lts), stretch3.5.3-1+deb9u11fixed
python3.7 (PTS)buster, buster (lts)3.7.3-2+deb10u9fixed
buster (security)3.7.3-2+deb10u7fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python2.6sourcewheezy2.6.8-1.1+deb7u2ELA-48-1
python2.7sourcewheezy2.7.3-6+deb7u5ELA-47-1
python2.7sourcejessie2.7.9-2+deb8u3DLA-1834-1
python2.7sourcestretch2.7.13-2+deb9u3DSA-4306-1
python2.7source(unstable)2.7.15-5921039
python3.4sourcejessie3.4.2-1+deb8u3DLA-1835-1
python3.4source(unstable)(unfixed)
python3.5sourcestretch3.5.3-1+deb9u1DSA-4307-1
python3.5source(unstable)(unfixed)
python3.6source(unstable)3.6.7~rc1-1
python3.7source(unstable)3.7.0-7

Notes

[jessie] - python3.4 <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