]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-123067: Fix quadratic complexity in parsing "-quoted cookie values with...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 4 Sep 2024 15:50:36 +0000 (17:50 +0200)
committerGitHub <noreply@github.com>
Wed, 4 Sep 2024 15:50:36 +0000 (17:50 +0200)
commitb2f11ca7667e4d57c71c1c88b255115f16042d9a
tree5288f28f4f45a7e019ad2bb517f277309fc23278
parent2fa5d706843476cf43ff3b431e3c4a8c34737413
[3.10] gh-123067: Fix quadratic complexity in parsing "-quoted cookie values with backslashes (GH-123075) (#123106)

This fixes CVE-2024-7592.
(cherry picked from commit 44e458357fca05ca0ae2658d62c8c595b048b5ef)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/http/cookies.py
Lib/test/test_http_cookies.py
Misc/NEWS.d/next/Library/2024-08-16-19-13-21.gh-issue-123067.Nx9O4R.rst [new file with mode: 0644]