8000 gh-102988: Detect email address parsing errors and return empty tuple to indicate the parsing error (old API) by tdwyer · Pull Request #105127 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-102988: Detect email address parsing errors and return empty tuple to indicate the parsing error (old API) #105127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jul 10, 2023
Prev Previous commit
Next Next commit
Fix NEWS entry. It was not a Module its Class email._parseaddr.Addres…
…sList
  • Loading branch information
tdwyer committed Jun 21, 2023
commit 302ee76de4468b4b4c5372ec0590365b01c7eba1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CVE-2023-27043: Prevent :func:`email.utils.parseaddr`
and :func:`email.utils.getaddresses` from returning the realname portion of an
invalid RFC2822 email header in the email address portion of the 2-tuple
returned after being parsed by :mod:`email._parseaddr`.
returned after being parsed by :class:`email._parseaddr.AddressList`.
0