cpython/Doc/whatsnew
Gregory P. Smith 15ec1afd4f
[3.7] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (GH-96504)
Converting between `int` and `str` in bases other than 2
(binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base 10 (decimal) now
raises a `ValueError` if the number of digits in string form is above a
limit to avoid potential denial of service attacks due to the algorithmic
complexity. This is a mitigation for CVE-2020-10735
(https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10735).

This new limit can be configured or disabled by environment variable, command
line flag, or :mod:`sys` APIs. See the `Integer String Conversion Length
Limitation` documentation.  The default limit is 4300
digits in string form.

Patch by Gregory P. Smith [Google] and Christian Heimes [Red Hat] with feedback
from Victor Stinner, Thomas Wouters, Steve Dower, Ned Deily, and Mark Dickinson.
2022-09-06 01:24:36 -04:00
..
2.0.rst [3.7] bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174). (GH-11232) 2018-12-19 09:28:12 +02:00
2.1.rst [3.7] bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174). (GH-11232) 2018-12-19 09:28:12 +02:00
2.2.rst [3.7] bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174). (GH-11232) 2018-12-19 09:28:12 +02:00
2.3.rst [3.7] bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174). (GH-11232) 2018-12-19 09:28:12 +02:00
2.4.rst bpo-33641: Convert RFC references into links. (GH-7103) 2018-05-30 22:33:23 -07:00
2.5.rst [3.7] bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174). (GH-11232) 2018-12-19 09:28:12 +02:00
2.6.rst Docs: FIX broken links. (GH-13491) 2019-05-28 16:09:14 -07:00
2.7.rst [3.7] bpo-38600: NULL -> `NULL`. (GH-17001) (GH-17004) 2019-10-30 22:45:14 +02:00
3.0.rst [3.7] bpo-35506: Remove redundant and incorrect links from keywords. (GH-11174). (GH-11232) 2018-12-19 09:28:12 +02:00
3.1.rst Fix miscellaneous typos (#4275) 2017-11-05 15:37:50 +02:00
3.2.rst Docs: FIX broken links. (GH-13491) 2019-05-28 16:09:14 -07:00
3.3.rst bpo-38096: Clean up the "struct sequence" / "named tuple" docs (GH-15895) (GH-15962) 2019-09-11 19:50:51 -07:00
3.4.rst [3.7] bpo-38600: NULL -> `NULL`. (GH-17001) (GH-17004) 2019-10-30 22:45:14 +02:00
3.5.rst bpo-35044, doc: Use the :exc: role for the exceptions (GH-10037) 2018-10-26 03:56:28 -07:00
3.6.rst [3.7] bpo-42967: only use '&' as a query string separator (GH-24297) (GH-24531) 2021-02-15 13:34:14 -05:00
3.7.rst [3.7] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (GH-96504) 2022-09-06 01:24:36 -04:00
changelog.rst Include additional changes to support blurbified NEWS (#3340) 2017-09-05 00:46:18 -07:00
index.rst bpo-31458: Clarify that Changelog is built from Misc/NEWS.d directory (GH-3617) 2017-09-16 10:43:30 -07:00