When using the "tarfile" module with a file opened in "streaming mode" (mode="r|") the tarfile module did not properly handle EOF, making archive parsing take exponentially longer.
Attack Parameters
Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed
Impact Assessment
Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service
CVSS Vector v4.0
Weakness Type (CWE)
Vulnerable Products
python software foundation:cpython
References 10
https://github.com/python/cpython/commit/3f031d431f80668e14f3bc066bbf4369cd9281…
cna@python.org
https://github.com/python/cpython/commit/4ce6bf7c8aa7725828a38981c306f214c1f293…
cna@python.org
https://github.com/python/cpython/commit/7f0dc59c9a70f8f3b4da33d7c4a2ba552a7acc…
cna@python.org
https://github.com/python/cpython/commit/e86666c9dd256d52d0fbef6feb1ea4a51768fd…
cna@python.org
https://github.com/python/cpython/commit/eb63c0f94dfcbea7fda8eab6213818e134d671…
cna@python.org
https://github.com/python/cpython/commit/f50bf13566189c8d0ce5a814f33eff3d899518…
cna@python.org
https://github.com/python/cpython/issues/151981
cna@python.org
https://github.com/python/cpython/pull/151982
cna@python.org
https://mail.python.org/archives/list/security-announce@python.org/thread/AXPSK…
cna@python.org
https://github.com/python/cpython/commit/f5e2776ff0383a902c12acf2b703e7e951fc84…
NVD