]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-102988: Detect email address parsing errors and return empty tuple to indicate...
authorThomas Dwyer <github@tomd.tel>
Mon, 10 Jul 2023 23:00:55 +0000 (18:00 -0500)
committerGitHub <noreply@github.com>
Mon, 10 Jul 2023 23:00:55 +0000 (23:00 +0000)
commit18dfbd035775c15533d13a98e56b1d2bf5c65f00
tree3da9c6fff33d3c8f5cb7b503e1915a005beaf068
parent6782fc050281205734700a1c3e13b123961ed15b
gh-102988: Detect email address parsing errors and return empty tuple to indicate the parsing error (old API) (#105127)

Detect email address parsing errors and return empty tuple to indicate the parsing error (old API). This fixes or at least ameliorates CVE-2023-27043.

---------

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Doc/library/email.utils.rst
Doc/whatsnew/3.12.rst
Lib/email/utils.py
Lib/test/test_email/test_email.py
Misc/NEWS.d/next/Security/2023-06-13-20-52-24.gh-issue-102988.Kei7Vf.rst [new file with mode: 0644]