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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1834-1, DLA-1835-1, DSA-4306-1, DSA-4307-1
NVD severitymedium
Debian Bugs921039

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python2.7 (PTS)stretch (security), stretch2.7.13-2+deb9u3fixed
buster2.7.16-2+deb10u1fixed
bullseye, sid2.7.18-1fixed
python3.5 (PTS)stretch3.5.3-1+deb9u1fixed
stretch (security)3.5.3-1+deb9u2fixed
python3.7 (PTS)buster3.7.3-2+deb10u2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
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