CVE-2019-20907

NameCVE-2019-20907
DescriptionIn Lib/tarfile.py in Python through 3.8.3, an attacker is able to craft a TAR archive leading to an infinite loop when opened by tarfile.open, because _proc_pax lacks header validation.
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)
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python2.7 (PTS)stretch (security), stretch2.7.13-2+deb9u3vulnerable
buster2.7.16-2+deb10u1vulnerable
bullseye, sid2.7.18-1vulnerable
python3.5 (PTS)stretch3.5.3-1+deb9u1vulnerable
stretch (security)3.5.3-1+deb9u2vulnerable
python3.7 (PTS)buster3.7.3-2+deb10u2fixed
python3.8 (PTS)bullseye, sid3.8.5-2fixed
python3.9 (PTS)bullseye, sid3.9.0~rc1-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python2.7source(unstable)(unfixed)low
python3.5source(unstable)(unfixed)low
python3.7sourcebuster3.7.3-2+deb10u2
python3.7source(unstable)(unfixed)low
python3.8source(unstable)3.8.5-1low
python3.9source(unstable)3.9.0~b5-1low

Notes

[stretch] - python3.5 <postponed> (Minor issue, can be fixed in next DLA)
[buster] - python2.7 <no-dsa> (Minor issue)
[stretch] - python2.7 <postponed> (Minor issue, can be fixed in next DLA)
https://bugs.python.org/issue39017
https://github.com/python/cpython/commit/5a8d121a1f3ef5ad7c105ee378cc79a3eac0c7d4 (master)
https://github.com/python/cpython/commit/f3232294ee695492f43d424cc6969d018d49861d (3.9-branch)
https://github.com/python/cpython/commit/c55479556db015f48fc8bbca17f64d3e65598559 (3.8-branch)
https://github.com/python/cpython/commit/79c6b602efc9a906c8496f3d5f4d54c54b48fa06 (3.7-branch)
https://github.com/python/cpython/commit/47a2955589bdb1a114d271496ff803ad73f954b8 (3.6-branch)
https://github.com/python/cpython/pull/21454

Search for package or bug name: Reporting problems