Untriaged
Excessive read buffering DoS in http.client
When reading an HTTP response from a server, if no read amount is specified, the default behavior will be to use Content-Length. This allows a malicious server to cause the client to read large amounts of data into memory, potentially causing OOM or other DoS.
References
- https://github.com/python/cpython/issues/119451 issue-tracking
- https://github.com/python/cpython/pull/119454 patch
- https://github.com/python/cpython/commit/4ce27904b597c77d74dd93f2c912676021a991… patch
- https://github.com/python/cpython/commit/5a4c4a033a4a54481be6870aa1896fad732555… patch
- https://github.com/python/cpython/issues/119451 issue-tracking
- https://github.com/python/cpython/pull/119454 patch
- https://github.com/python/cpython/commit/4ce27904b597c77d74dd93f2c912676021a991… patch
- https://github.com/python/cpython/commit/5a4c4a033a4a54481be6870aa1896fad732555… patch
- https://mail.python.org/archives/list/security-announce@python.org/thread/OQ6G7… vendor-advisory
- https://github.com/python/cpython/issues/119451 issue-tracking
- https://github.com/python/cpython/pull/119454 patch
- https://github.com/python/cpython/commit/4ce27904b597c77d74dd93f2c912676021a991… patch
- https://github.com/python/cpython/commit/5a4c4a033a4a54481be6870aa1896fad732555… patch
- https://mail.python.org/archives/list/security-announce@python.org/thread/OQ6G7… vendor-advisory
- https://github.com/python/cpython/commit/289f29b0fe38baf2d7cb5854f4bb573cc34a6a… patch
- https://github.com/python/cpython/issues/119451 issue-tracking
- https://github.com/python/cpython/pull/119454 patch
- https://github.com/python/cpython/commit/4ce27904b597c77d74dd93f2c912676021a991… patch
- https://github.com/python/cpython/commit/5a4c4a033a4a54481be6870aa1896fad732555… patch
- https://mail.python.org/archives/list/security-announce@python.org/thread/OQ6G7… vendor-advisory
- https://github.com/python/cpython/commit/289f29b0fe38baf2d7cb5854f4bb573cc34a6a… patch
- https://github.com/python/cpython/commit/14b1fdb0a94b96f86fc7b86671ea9582b86766… patch
- https://github.com/python/cpython/issues/119451 issue-tracking
- https://github.com/python/cpython/pull/119454 patch
- https://github.com/python/cpython/commit/4ce27904b597c77d74dd93f2c912676021a991… patch
- https://github.com/python/cpython/commit/5a4c4a033a4a54481be6870aa1896fad732555… patch
- https://mail.python.org/archives/list/security-announce@python.org/thread/OQ6G7… vendor-advisory
- https://github.com/python/cpython/commit/289f29b0fe38baf2d7cb5854f4bb573cc34a6a… patch
- https://github.com/python/cpython/commit/14b1fdb0a94b96f86fc7b86671ea9582b86766… patch
- https://github.com/python/cpython/commit/5dc101675fd22918facbbe0fecdc821502beaa… patch
- https://github.com/python/cpython/commit/afc40bdd3dd71f343fd9016f6d8eebbacbd658… patch
- https://github.com/python/cpython/issues/119451 issue-tracking
- https://github.com/python/cpython/pull/119454 patch
- https://github.com/python/cpython/commit/4ce27904b597c77d74dd93f2c912676021a991… patch
- https://github.com/python/cpython/commit/5a4c4a033a4a54481be6870aa1896fad732555… patch
- https://mail.python.org/archives/list/security-announce@python.org/thread/OQ6G7… vendor-advisory
- https://github.com/python/cpython/commit/289f29b0fe38baf2d7cb5854f4bb573cc34a6a… patch
Affected products
CPython
- <3.13.11
- <3.14.1
- <3.15.0a3
- <3.15.0
Matching in nixpkgs
pkgs.haskellPackages.cpython
Bindings for libpython
Package maintainers
-
@sheepforce Phillip Seeber <phillip.seeber@googlemail.com>