cpython/Lib
Petr Viktorin 4d069d5b11
[3.8] [CVE-2023-27043] gh-102988: Reject malformed addresses in email.parseaddr() (GH-111116) (#123770)
Detect email address parsing errors and return empty tuple to
indicate the parsing error (old API). Add an optional 'strict'
parameter to getaddresses() and parseaddr() functions. Patch by
Thomas Dwyer.

(cherry picked from commit 4a153a1d3b)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-Authored-By: Thomas Dwyer <github@tomd.tel>
2024-09-06 13:14:09 +02:00
..
asyncio [3.8] gh-121957: Emit audit events for python -i and python -m asyncio (GH-122121) 2024-07-22 17:08:28 +02:00
collections bpo-39674: Fix collections ABC deprecation notice (GH-25281) 2021-04-09 01:29:19 +02:00
concurrent bpo-35930: Raising an exception raised in a "future" instance will create reference cycles (GH-24995) (#25071) 2021-03-29 19:53:14 +02:00
ctypes bpo-32745: Fix a regression in the handling of ctypes' c_wchar_p type (GH-8721) (#25811) 2021-05-02 13:03:23 +02:00
curses
dbm
distutils [3.8] bpo-41100: Support macOS 11 Big Sur and Apple Silicon Macs (#25806) 2021-05-02 11:18:58 +02:00
email [3.8] [CVE-2023-27043] gh-102988: Reject malformed addresses in email.parseaddr() (GH-111116) (#123770) 2024-09-06 13:14:09 +02:00
encodings [3.8] gh-98433: Fix quadratic time idna decoding. (GH-99092) (GH-99222) (GH-99231) 2022-11-10 16:55:43 +01:00
ensurepip [3.8] gh-101997: Remove stale pip-22.0.4-py3-none-any.whl from the 3.8 branch (#108998) 2023-09-06 17:00:32 +02:00
html bpo-41748: Handles unquoted attributes with commas (GH-24072) 2021-02-01 12:52:52 -08:00
http [3.8] gh-123067: Fix quadratic complexity in parsing "-quoted cookie values with backslashes (GH-123075) (#123108) 2024-09-04 17:40:38 +02:00
idlelib [3.8] gh-97032: avoid test_squeezer crash on macOS buildbots (GH-115508) (GH-115656) 2024-02-21 12:21:53 +01:00
importlib [3.8] bpo-46474: Avoid REDoS in EntryPoint.pattern (sync with importlib_metadata 4.10.1) (GH-30803). (#30829) 2022-02-14 18:56:03 +01:00
json
lib2to3 bpo-36541: Add lib2to3 grammar PEP-570 pos-only arg parsing (GH-23759) 2020-12-14 09:29:57 -08:00
logging bpo-43353: Document that logging.getLevelName() accepts string representation of logging level. (GH-24693) (#24825) 2021-03-17 08:15:59 -04:00
msilib
multiprocessing bpo-41344: Raise ValueError when creating shared memory of size 0 (GH-21556) (GH-22019) 2020-08-30 20:42:27 +01:00
pydoc_data Python 3.8.15 2022-10-11 17:42:49 +02:00
site-packages
sqlite3 [3.8] gh-80254: Disallow recursive usage of cursors in sqlite3 converters (#92333) 2022-05-16 17:39:17 +02:00
test [3.8] [CVE-2023-27043] gh-102988: Reject malformed addresses in email.parseaddr() (GH-111116) (#123770) 2024-09-06 13:14:09 +02:00
tkinter bpo-45436: Fix tkinter tests with Tcl/Tk 8.6.11+ (GH-29077) (GH-29093) 2021-10-20 16:08:43 +02:00
turtledemo Fix typo in turtledemo.two_canvases. (GH-25194) 2021-04-05 10:37:24 -07:00
unittest bpo-39101: Fixes BaseException hang in IsolatedAsyncioTestCase. (GH-22654) 2020-12-16 09:57:23 -08:00
urllib [3.8] gh-67693: Fix urlunparse() and urlunsplit() for URIs with path starting with multiple slashes and no authority (GH-113563) (#119028) 2024-09-04 17:44:22 +02:00
venv
wsgiref
xml [3.8] gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) (GH-116275) 2024-03-07 00:03:44 +01:00
xmlrpc
__future__.py
__phello__.foo.py
_bootlocale.py
_collections_abc.py
_compat_pickle.py
_compression.py
_dummy_thread.py
_markupbase.py
_osx_support.py [3.8] bpo-41100: Support macOS 11 Big Sur and Apple Silicon Macs (#25806) 2021-05-02 11:18:58 +02:00
_py_abc.py
_pydecimal.py
_pyio.py
_sitebuiltins.py
_strptime.py
_threading_local.py
_weakrefset.py
abc.py
aifc.py
antigravity.py
argparse.py
ast.py [3.8] bpo-39524: Fixed doc-string in ast._pad_whitespace (GH-18340) (GH-22857) 2020-10-21 09:20:56 -07:00
asynchat.py
asyncore.py
base64.py [3.8] bpo-39068: Fix race condition in base64 (GH-17627) (GH-24022) 2021-01-01 19:41:49 +02:00
bdb.py
binhex.py [3.8] bpo-29566: binhex.binhex now consitently writes MacOS 9 line endings. (GH-23059) (GH-23070) 2020-11-01 01:39:16 -08:00
bisect.py
bz2.py
calendar.py
cgi.py [3.8] bpo-42967: only use '&' as a query string separator (GH-24297) (#24529) 2021-02-15 19:15:02 +01:00
cgitb.py
chunk.py
cmd.py
code.py
codecs.py
codeop.py
colorsys.py
compileall.py
configparser.py
contextlib.py
contextvars.py
copy.py
copyreg.py
cProfile.py [3.8] gh-103935: Use io.open_code() when executing code in trace and profile modules (GH-103947) (#103954) 2023-05-22 12:40:02 +02:00
crypt.py
csv.py
dataclasses.py Fix typo in a dataclasses comment. (GH-25454) 2021-04-17 07:11:16 -07:00
datetime.py Fix typo (GH-23019) 2021-02-03 13:46:23 -08:00
decimal.py
difflib.py
dis.py
doctest.py
dummy_threading.py
enum.py [3.8] bpo-42248: [Enum] ensure exceptions raised in `_missing_` are released (GH-25350). (GH-25369) 2021-04-12 12:16:46 -07:00
filecmp.py
fileinput.py
fnmatch.py bpo-36769: Document that fnmatch.filter supports any kind of iterable (GH-13039) 2021-01-20 02:43:22 -08:00
formatter.py
fractions.py
ftplib.py [3.8] bpo-43285 Make ftplib not trust the PASV response. (GH-24838) (GH-24881) 2021-03-15 12:04:49 -07:00
functools.py
genericpath.py
getopt.py
getpass.py
gettext.py
glob.py
gzip.py bpo-43316: gzip: Fix sys.exit() usage. (GH-24652) 2021-02-25 18:36:49 -08:00
hashlib.py
heapq.py
hmac.py
imaplib.py
imghdr.py
imp.py
inspect.py bpo-17735: inspect.findsource now raises OSError when co_lineno is out of range (GH-23633) 2020-12-04 13:44:53 -08:00
io.py
ipaddress.py [3.8] gh-113171: gh-65056: Fix "private" (non-global) IP address ranges (GH-113179) (GH-113186) (GH-118177) (GH-118479) 2024-05-07 11:58:20 +02:00
keyword.py
linecache.py
locale.py
lzma.py
mailbox.py
mailcap.py [3.8] gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993) (#98192) 2022-10-11 23:58:03 +02:00
mimetypes.py
modulefinder.py
netrc.py
nntplib.py
ntpath.py
nturl2path.py bpo-43607: Fix urllib handling of Windows paths with \\?\ prefix (GH-25539) 2021-04-23 19:21:45 +01:00
numbers.py
opcode.py
operator.py
optparse.py
os.py
pathlib.py bpo-35306: Avoid raising OSError from pathlib.Path.exists when passed an invalid filename (GH-25529) 2021-04-22 13:25:08 -07:00
pdb.py [3.9] bpo-26053: Fix args echoed by pdb run command (GH-25149) 2021-04-02 04:33:31 -07:00
pickle.py bpo-42406: Fix whichmodule() with multiprocessing (GH-23403) 2020-11-29 10:43:36 -08:00
pickletools.py
pipes.py
pkgutil.py [3.8] bpo-44061: Fix pkgutil.iter_modules regression when passed a pathlib.Path object (GH-25964). (GH-26056) 2021-05-12 12:18:07 +02:00
platform.py bpo-43284: Update platform.win32_ver to use _syscmd_ver instead of sys.getwindowsversion() (GH-25500) 2021-04-22 10:03:36 -07:00
plistlib.py bpo-42249: Fix writing binary Plist files larger than 4 GiB. (GH-23121) 2020-11-03 07:01:56 -08:00
poplib.py
posixpath.py
pprint.py
profile.py [3.8] gh-103935: Use io.open_code() when executing code in trace and profile modules (GH-103947) (#103954) 2023-05-22 12:40:02 +02:00
pstats.py bpo-41811: create SortKey members using first given value (GH-22316) (GH-22326) 2020-09-19 12:56:30 -07:00
pty.py
py_compile.py
pyclbr.py
pydoc.py bpo-42278: Use tempfile.TemporaryDirectory rather than tempfile.mktemp in pydoc (GH-23200) (GH-28026) 2021-08-29 14:57:05 +02:00
queue.py
quopri.py
random.py
re.py
reprlib.py
rlcompleter.py
runpy.py
sched.py
secrets.py
selectors.py
shelve.py
shlex.py
shutil.py [3.8] gh-102950: Implement PEP 706 – Filter for tarfile.extractall (GH-102953) (#104548) 2023-05-17 14:23:56 +02:00
signal.py
site.py [3.8] gh-113659: Skip hidden .pth files (GH-113660) (GH-114147) 2024-01-17 14:42:31 +01:00
smtpd.py
smtplib.py [3.8] bpo-43124: Fix smtplib multiple CRLF injection (GH-25987) (GH-28036) 2021-08-29 17:04:17 +02:00
sndhdr.py
socket.py [3.8] gh-122133: Rework pure Python socketpair tests to avoid use of importlib.reload. (GH-122493) (GH-122509) 2024-08-02 15:11:22 +02:00
socketserver.py [3.8] bpo-37193: Remove thread objects which finished process its request (GH-23127) (GH-24749) 2021-03-04 08:55:24 -08:00
sre_compile.py
sre_constants.py
sre_parse.py
ssl.py [3.8] gh-108342: Break ref cycle in SSLSocket._create() exc (GH-108344) (#108352) 2023-08-23 12:10:56 +02:00
stat.py
statistics.py
string.py
stringprep.py
struct.py
subprocess.py [3.8] gh-101283: Improved fallback logic for subprocess with shell=True on Windows (GH-101286) (#101710) 2023-02-09 11:00:51 +01:00
sunau.py
symbol.py
symtable.py [3.8] bpo-41840: Report module-level globals as both local and global in the symtable module (GH-22391). (GH-22529) 2020-10-03 22:50:00 +01:00
sysconfig.py [3.8] bpo-41100: Support macOS 11 Big Sur and Apple Silicon Macs (#25806) 2021-05-02 11:18:58 +02:00
tabnanny.py
tarfile.py [3.8] gh-121285: Remove backtracking when parsing tarfile headers (GH-121286) (#123642) 2024-09-04 17:41:42 +02:00
telnetlib.py
tempfile.py [3.8] gh-91133: tempfile.TemporaryDirectory: fix symlink bug in cleanup (GH-99930) (GH-112843) 2024-01-17 14:44:32 +01:00
textwrap.py
this.py
threading.py
timeit.py
token.py
tokenize.py
trace.py [3.8] gh-103935: Use io.open_code() when executing code in trace and profile modules (GH-103947) (#103954) 2023-05-22 12:40:02 +02:00
traceback.py [3.8] bpo-34463: Make python tracebacks identical to C tracebacks for (#23899) 2021-04-26 21:42:40 +02:00
tracemalloc.py
tty.py
turtle.py bpo-43935: Fix typo in Turtle.back() docstring (GH-25581) 2021-04-30 18:35:45 -04:00
types.py
typing.py [3.8] Fix typo in typing.py (GH-22121) (GH-22158) 2020-09-08 16:28:02 -07:00
uu.py [3.8] gh-99889: Fix directory traversal security flaw in uu.decode() (GH-104096) (#104332) 2023-05-22 12:39:26 +02:00
uuid.py
warnings.py
wave.py
weakref.py
webbrowser.py bpo-41754: Ignore NotADirectoryError in invocation of xdg-settings (GH-23075) (GH-23198) 2020-11-08 13:06:17 +01:00
xdrlib.py
zipapp.py
zipfile.py [3.8] gh-123270: Replaced SanitizedNames with a more surgical fix. (GH-123354) (#123433) 2024-09-04 17:40:56 +02:00
zipimport.py