f5bd65e | jkriegshauser | 27 March 2024, 15:24:58 UTC | [3.8] gh-116773: Fix overlapped memory corruption crash (GH-116774) (GH-117083) Co-authored-by: Łukasz Langa <lukasz@langa.pl> | 27 March 2024, 15:24:58 UTC |
928d735 | Miss Islington (bot) | 27 March 2024, 13:55:40 UTC | [3.8] gh-117187: Fix XML tests for vanilla Expat <2.6.0 (GH-117203) (#117248) This fixes XML unittest fallout from the https://github.com/python/cpython/issues/115398 security fix. When configured using `--with-system-expat` on systems with older pre 2.6.0 versions of libexpat, our unittests were failing. (cherry picked from commit 9f74e86c78853c101a23e938f8e32ea838d8f62e) Co-authored-by: Sebastian Pipping <sebastian@pipping.org> | 27 March 2024, 13:55:40 UTC |
95c340a | Łukasz Langa | 19 March 2024, 16:18:53 UTC | Post 3.8.19 | 19 March 2024, 16:18:53 UTC |
469ede4 | Łukasz Langa | 19 March 2024, 15:40:39 UTC | Python 3.8.19 | 19 March 2024, 15:40:39 UTC |
41be376 | Miss Islington (bot) | 19 March 2024, 10:53:52 UTC | [3.8] gh-115197: Stop resolving host in urllib.request proxy bypass (GH-115210) (GH-116069) Use of a proxy is intended to defer DNS for the hosts to the proxy itself, rather than a potential for information leak of the host doing DNS resolution itself for any reason. Proxy bypass lists are strictly name based. Most implementations of proxy support agree. (cherry picked from commit c43b26d02eaa103756c250e8d36829d388c5f3be) Co-authored-by: Weii Wang <weii.wang@canonical.com> | 19 March 2024, 10:53:52 UTC |
854f645 | Sebastian Pipping | 06 March 2024, 23:03:44 UTC | [3.8] gh-115398: Expose Expat >=2.6.0 reparse deferral API (CVE-2023-52425) (GH-115623) (GH-116275) Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) by adding five new methods: - `xml.etree.ElementTree.XMLParser.flush` - `xml.etree.ElementTree.XMLPullParser.flush` - `xml.parsers.expat.xmlparser.GetReparseDeferralEnabled` - `xml.parsers.expat.xmlparser.SetReparseDeferralEnabled` - `xml.sax.expatreader.ExpatParser.flush` Based on the "flush" idea from https://github.com/python/cpython/pull/115138#issuecomment-1932444270 . Includes code suggested-by: Snild Dolkow <snild@sony.com> and by core dev Serhiy Storchaka. Co-authored-by: Gregory P. Smith <greg@krypto.org> | 06 March 2024, 23:03:44 UTC |
4d58a1d | Miss Islington (bot) | 21 February 2024, 15:22:09 UTC | [3.8] gh-107077: Raise SSLCertVerificationError even if the error is set via SSL_ERROR_SYSCALL (GH-107586) (GH-107591) (cherry picked from commit 77e09192b5f1caf14cd5f92ccb53a4592e83e8bc) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: T. Wouters <thomas@python.org> Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 21 February 2024, 15:22:09 UTC |
8c6f277 | Seth Michael Larson | 21 February 2024, 12:48:24 UTC | [3.8] Upgrade bundled libexpat to 2.6.0 (GH-115399) (GH-115475) Manual backport due to code differences. (cherry picked from commit e071b0d558b2f5cddd5a9fc6afadb4ba109ec77e) Co-authored-by: Łukasz Langa <lukasz@langa.pl> | 21 February 2024, 12:48:24 UTC |
1e7f79a | Miss Islington (bot) | 21 February 2024, 11:43:42 UTC | [3.8] gh-115399: Document CVE-2023-52425 under "XML vulnerabilities" (GH-115400) (GH-115764) Doc/library/xml.rst: Document CVE-2023-52425 under "XML vulnerabilities" (cherry picked from commit fbd40ce46e7335a5dbaf48a3aa841be22d7302ba) Co-authored-by: Sebastian Pipping <sebastian@pipping.org> | 21 February 2024, 11:43:42 UTC |
ab64d7d | Miss Islington (bot) | 21 February 2024, 11:21:53 UTC | [3.8] gh-97032: avoid test_squeezer crash on macOS buildbots (GH-115508) (GH-115656) (cherry picked from commit 17a6533dbf5ffdfd707c1514a61423d9ac59a9cb) Co-authored-by: Ned Deily <nad@python.org> | 21 February 2024, 11:21:53 UTC |
366f315 | Seth Michael Larson | 21 February 2024, 11:18:41 UTC | [3.8] gh-115133: Fix tests for XMLPullParser with Expat 2.6.0 (GH-115164) (GH-115536) Feeding the parser by too small chunks defers parsing to prevent CVE-2023-52425. Future versions of Expat may be more reactive. (cherry picked from commit 4a08e7b3431cd32a0daf22a33421cd3035343dc4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | 21 February 2024, 11:18:41 UTC |
a21c0c7 | Łukasz Langa | 13 February 2024, 13:44:07 UTC | [3.8] gh-115349: Pin theme to fix code snippets (GH-115351) (#115404) (cherry picked from commit 3fcea416f8261790ce700c52c4262ccb668716d6) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | 13 February 2024, 13:44:07 UTC |
da0691d | Miss Islington (bot) | 13 February 2024, 12:56:05 UTC | [3.8] Add missing sections to blurbs (GH-114553) (GH-115340) Add missing sections to blurbs (GH-114553) (cherry picked from commit dc8893af7df706138161d82ce7d1d2f9132d14f9) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | 13 February 2024, 12:56:05 UTC |
64c9fcc | Łukasz Langa | 06 February 2024, 15:08:41 UTC | [3.8] gh-111239: Update Windows build to use zlib 1.3.1 (GH-114877) (#115086) (cherry picked from commit 618d7256e78da8200f6e2c6235094a1ef885dca4) Co-authored-by: Zachary Ware <zach@python.org> | 06 February 2024, 15:08:41 UTC |
648c44d | Miss Islington (bot) | 17 January 2024, 14:02:24 UTC | [3.8] gh-107888: Fix test_mmap.test_access_parameter() on macOS 14 (GH-109928) (GH-114183) (cherry picked from commit 9dbfe2dc8e7bba25e52f9470ae6969821a365297) Co-authored-by: Victor Stinner <vstinner@python.org> | 17 January 2024, 14:02:24 UTC |
d737623 | Zachary Ware | 17 January 2024, 13:45:48 UTC | [3.8] gh-109991: Update Windows build to use OpenSSL 1.1.1w (GH-111266) (cherry picked from commit dcb16c98be61630369227f0d893f8d9262d25cac) Co-authored-by: Steve Dower <steve.dower@python.org> | 17 January 2024, 13:45:48 UTC |
02a9259 | Serhiy Storchaka | 17 January 2024, 13:44:32 UTC | [3.8] gh-91133: tempfile.TemporaryDirectory: fix symlink bug in cleanup (GH-99930) (GH-112843) (cherry picked from commit 81c16cd94ec38d61aa478b9a452436dc3b1b524d) Co-authored-by: Søren Løvborg <sorenl@unity3d.com> | 17 January 2024, 13:44:32 UTC |
2e1156c | Miss Islington (bot) | 17 January 2024, 13:44:07 UTC | [3.8] bpo-37013: Fix the error handling in socket.if_indextoname() (GH-13503) (GH-113474) * Fix a crash when pass UINT_MAX. * Fix an integer overflow on 64-bit non-Windows platforms. (cherry picked from commit 0daf555c6fb3feba77989382135a58215e1d70a5) Co-authored-by: Zackery Spytz <zspytz@gmail.com> | 17 January 2024, 13:44:07 UTC |
0df2eb5 | Lumír 'Frenzy' Balhar | 17 January 2024, 13:43:00 UTC | [3.8] gh-108310: Fix TestPreHandshakeClose tests in test_ssl (#110718) The new class is part of the fix for CVE-2023-40217: https://github.com/python/cpython/commit/b4bcc06a9cfe13d96d5270809d963f8ba278f89b but it's not in the lists of tests so they're not executed. The new tests also need `SHORT_TIMEOUT` constant not available in test.support in 3.8. Co-authored-by: Łukasz Langa <lukasz@langa.pl> | 17 January 2024, 13:43:00 UTC |
01845a1 | Serhiy Storchaka | 17 January 2024, 13:42:31 UTC | [3.8] gh-113659: Skip hidden .pth files (GH-113660) (GH-114147) Skip .pth files with names starting with a dot or hidden file attribute. (cherry picked from commit 74208ed0c440244fb809d8acc97cb9ef51e888e3) | 17 January 2024, 13:42:31 UTC |
a911516 | Adam Turner | 17 January 2024, 13:42:12 UTC | [3.8] gh-114021: Pin various sphinxcontrib extensions to older versions (GH-114022) (GH-114040) (cherry picked from commit 94b1d1fa38ada8cf7d196184a04a195c152eed75) Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com> | 17 January 2024, 13:42:12 UTC |
d05bac0 | Serhiy Storchaka | 17 January 2024, 13:41:50 UTC | [3.8] gh-109858: Protect zipfile from "quoted-overlap" zipbomb (GH-110016) (GH-113916) Raise BadZipFile when try to read an entry that overlaps with other entry or central directory. (cherry picked from commit 66363b9a7b9fe7c99eba3a185b74c5fdbf842eba) | 17 January 2024, 13:41:50 UTC |
fb57c39 | Miss Islington (bot) | 10 January 2024, 09:45:31 UTC | [3.8] Fix documentation build by pinning Alabaster version to 0.7.13 (GH-113815) (#113899) Alabaster is Sphinx's dependency. Alabaster 0.7.14 released on 2024-01-08 dropped support for Sphinx 3.3 and earlier. (cherry picked from commit f86e20e4a86de4a06c04200c55e6f639f6795257) https://alabaster.readthedocs.io/en/latest/changelog.html Co-authored-by: Maciej Olko <maciej.olko@affirm.com> | 10 January 2024, 09:45:31 UTC |
575c99a | Seth Michael Larson | 06 December 2023, 23:26:42 UTC | [3.8] gh-112160: Add 'regen-configure' make target (#112167) | 06 December 2023, 23:26:42 UTC |
c1c6bed | Łukasz Langa | 06 November 2023, 17:45:08 UTC | [3.8] gh-101180: Fix a bug where iso2022_jp_3 and iso2022_jp_2004 codecs read out of bounds (gh-111695) (gh-111781) (cherry picked from commit c8faa3568afd255708096f6aa8df0afa80cf7697) Co-authored-by: Masayuki Moriyama <masayuki.moriyama@miraclelinux.com> | 06 November 2023, 17:45:08 UTC |
edf701c | Hugo van Kemenade | 07 September 2023, 10:11:27 UTC | [3.8] CI: Bump GitHub Actions (GH-108879) (#108894) Co-authored-by: Łukasz Langa <lukasz@langa.pl> | 07 September 2023, 10:11:27 UTC |
fa2d13e | Miss Islington (bot) | 06 September 2023, 18:01:47 UTC | [3.8] gh-109002: Ensure only one wheel for each vendored package (GH-109003) (#109009) Output with one wheel: ``` ❯ GITHUB_ACTIONS=true ./Tools/build/verify_ensurepip_wheels.py Verifying checksum for /Volumes/RAMDisk/cpython/Lib/ensurepip/_bundled/pip-23.2.1-py3-none-any.whl. Expected digest: 7ccf472345f20d35bdc9d1841ff5f313260c2c33fe417f48c30ac46cccabf5be Actual digest: 7ccf472345f20d35bdc9d1841ff5f313260c2c33fe417f48c30ac46cccabf5be ::notice file=/Volumes/RAMDisk/cpython/Lib/ensurepip/_bundled/pip-23.2.1-py3-none-any.whl::Successfully verified the checksum of the pip wheel. ``` Output with two wheels: ``` ❯ GITHUB_ACTIONS=true ./Tools/build/verify_ensurepip_wheels.py ::error file=/Volumes/RAMDisk/cpython/Lib/ensurepip/_bundled/pip-22.0.4-py3-none-any.whl::Found more than one wheel for package pip. ::error file=/Volumes/RAMDisk/cpython/Lib/ensurepip/_bundled/pip-23.2.1-py3-none-any.whl::Found more than one wheel for package pip. ``` Output without wheels: ``` ❯ GITHUB_ACTIONS=true ./Tools/build/verify_ensurepip_wheels.py ::error file=::Could not find a pip wheel on disk. ``` (cherry picked from commit f8a047941f2e4a1848700c21d58a08c9ec6a9c68) Co-authored-by: Łukasz Langa <lukasz@langa.pl> | 06 September 2023, 18:01:47 UTC |
97e87f7 | Łukasz Langa | 06 September 2023, 15:00:32 UTC | [3.8] gh-101997: Remove stale pip-22.0.4-py3-none-any.whl from the 3.8 branch (#108998) This was left over in gh-102244. | 06 September 2023, 15:00:32 UTC |
1c2639b | Miss Islington (bot) | 05 September 2023, 15:38:11 UTC | [3.8] Add a dummy .rtfd.yml file to silence invalid failing webhooks (GH-108908) (#108926) (cherry picked from commit 5970435b26fc85c83490bc915c894ea7dd0fbf21) Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | 05 September 2023, 15:38:11 UTC |
7f59c4c | Łukasz Langa | 24 August 2023, 20:32:48 UTC | Post 3.8.18 | 24 August 2023, 20:32:48 UTC |
0a728e7 | Łukasz Langa | 24 August 2023, 20:21:07 UTC | Fix invalid string escape | 24 August 2023, 20:21:07 UTC |
a56dcae | Łukasz Langa | 24 August 2023, 19:36:02 UTC | Python 3.8.18 | 24 August 2023, 19:36:32 UTC |
efb46e5 | Łukasz Langa | 24 August 2023, 10:09:30 UTC | [3.8] gh-108342: Make ssl TestPreHandshakeClose more reliable (GH-108370) (#108408) * In preauth tests of test_ssl, explicitly break reference cycles invoving SingleConnectionTestServerThread to make sure that the thread is deleted. Otherwise, the test marks the environment as altered because the threading module sees a "dangling thread" (SingleConnectionTestServerThread). This test leak was introduced by the test added for the fix of issue gh-108310. * Use support.SHORT_TIMEOUT instead of hardcoded 1.0 or 2.0 seconds timeout. * SingleConnectionTestServerThread.run() catchs TimeoutError * Fix a race condition (missing synchronization) in test_preauth_data_to_tls_client(): the server now waits until the client connect() completed in call_after_accept(). * test_https_client_non_tls_response_ignored() calls server.join() explicitly. * Replace "localhost" with server.listener.getsockname()[0]. (cherry picked from commit 592bacb6fc0833336c0453e818e9b95016e9fd47) | 24 August 2023, 10:09:30 UTC |
6f2b64f | Miss Islington (bot) | 23 August 2023, 10:10:56 UTC | [3.8] gh-108342: Break ref cycle in SSLSocket._create() exc (GH-108344) (#108352) Explicitly break a reference cycle when SSLSocket._create() raises an exception. Clear the variable storing the exception, since the exception traceback contains the variables and so creates a reference cycle. This test leak was introduced by the test added for the fix of GH-108310. (cherry picked from commit 64f99350351bc46e016b2286f36ba7cd669b79e3) Co-authored-by: Victor Stinner <vstinner@python.org> | 23 August 2023, 10:10:56 UTC |
b4368b5 | Petr Viktorin | 22 August 2023, 18:28:34 UTC | [3.8] gh-107845: Fix symlink handling for tarfile.data_filter (GH-107846) (#108279) (cherry picked from commit acbd3f9c5c5f23e95267714e41236140d84fe962) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Lumír 'Frenzy' Balhar <frenzy.madness@gmail.com> | 22 August 2023, 18:28:34 UTC |
a5d1571 | Ned Deily | 22 August 2023, 18:20:51 UTC | [3.8] gh-107565: Update multissltests and GitHub CI workflows to use OpenSSL 1.1.1v, 3.0.10, and 3.1.2. (#108124) (cherry picked from commit 441797d4ffb12acda257370b9e5e19ed8d6e8a71) | 22 August 2023, 18:20:51 UTC |
b4bcc06 | Łukasz Langa | 22 August 2023, 17:57:01 UTC | [3.8] gh-108310: Fix CVE-2023-40217: Check for & avoid the ssl pre-close flaw (#108321) gh-108310: Fix CVE-2023-40217: Check for & avoid the ssl pre-close flaw Instances of `ssl.SSLSocket` were vulnerable to a bypass of the TLS handshake and included protections (like certificate verification) and treating sent unencrypted data as if it were post-handshake TLS encrypted data. The vulnerability is caused when a socket is connected, data is sent by the malicious peer and stored in a buffer, and then the malicious peer closes the socket within a small timing window before the other peers’ TLS handshake can begin. After this sequence of events the closed socket will not immediately attempt a TLS handshake due to not being connected but will also allow the buffered data to be read as if a successful TLS handshake had occurred. Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org> | 22 August 2023, 17:57:01 UTC |
1663f8b | Erlend E. Aasland | 05 July 2023, 11:20:58 UTC | [3.8] CI: Bump macOS build to use OpenSSL v3.0 (GH-105538) (#105872) (cherry picked from commit 34e93d3998bab8acd651c50724eb1977f4860a08) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> | 05 July 2023, 11:20:58 UTC |
db42de4 | Miss Islington (bot) | 05 July 2023, 11:19:01 UTC | [3.8] [3.11] Add single value `agen.athrow(value)` signature to the 3.11 docs gh-105269 (GH-105468) (#105478) (cherry picked from commit acf3916e84158308660ed07c474a564e045d6884) Co-authored-by: Federico Caselli <CaselIT@users.noreply.github.com> | 05 July 2023, 11:19:01 UTC |
40ea37d | Łukasz Langa | 06 June 2023, 14:36:18 UTC | Post 3.8.17 | 06 June 2023, 14:36:18 UTC |
9a2d531 | Łukasz Langa | 06 June 2023, 13:32:21 UTC | Python 3.8.17 | 06 June 2023, 13:32:21 UTC |
43eff24 | Łukasz Langa | 06 June 2023, 13:17:42 UTC | [3.8] gh-103142: Upgrade binary builds and CI to OpenSSL 1.1.1u (GH-105174) (GH-105200) (GH-105205) (#105370) Upgrade builds to OpenSSL 1.1.1u. Also updates _ssl_data_111.h from OpenSSL 1.1.1u, _ssl_data_300.h from 3.0.9. Manual edits to the _ssl_data_300.h file prevent it from removing any existing definitions in case those exist in some peoples builds and were important (avoiding regressions during backporting). (cherry picked from commit ede89af) (cherry picked from commit e15de14c16ce98e773c31607bd70ee911e4ac073) Co-authored-by: Gregory P. Smith <greg@krypto.org> Co-authored-by: Ned Deily <nad@python.org> | 06 June 2023, 13:17:42 UTC |
9c2ff15 | stratakis | 05 June 2023, 15:42:56 UTC | [3.8] gh-102153: Start stripping C0 control and space chars in `urlsplit` (GH-102508) (GH-104575) (GH-104592) (#104593) (#104895) `urllib.parse.urlsplit` has already been respecting the WHATWG spec a bit GH-25595. This adds more sanitizing to respect the "Remove any leading C0 control or space from input" [rule](https://url.spec.whatwg.org/GH-url-parsing:~:text=Remove%20any%20leading%20and%20trailing%20C0%20control%20or%20space%20from%20input.) in response to [CVE-2023-24329](https://nvd.nist.gov/vuln/detail/CVE-2023-24329). I simplified the docs by eliding the state of the world explanatory paragraph in this security release only backport. (people will see that in the mainline /3/ docs) (cherry picked from commit d7f8a5fe07b0ff3a419ccec434cc405b21a5a304) (cherry picked from commit 2f630e1ce18ad2e07428296532a68b11dc66ad10) (cherry picked from commit 610cc0ab1b760b2abaac92bd256b96191c46b941) (cherry picked from commit f48a96a28012d28ae37a2f4587a780a5eb779946) Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Co-authored-by: Illia Volochii <illia.volochii@gmail.com> Co-authored-by: Gregory P. Smith [Google] <greg@krypto.org> | 05 June 2023, 15:42:56 UTC |
c43c50e | Miss Islington (bot) | 05 June 2023, 15:41:14 UTC | [3.8] gh-105184: document that marshal functions can fail and need to be checked with PyErr_Occurred (GH-105185) (#105222) (cherry picked from commit ee26ca13a129da8cf549409d0a1b2e892ff2b4ec) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 05 June 2023, 15:41:14 UTC |
b28acfa | Ned Deily | 05 June 2023, 06:11:31 UTC | [3.8] Update GitHub CI workflow for macOS. (GH-105302) | 05 June 2023, 06:11:31 UTC |
d958960 | Ned Deily | 05 June 2023, 03:52:32 UTC | [3.8] gh-68966: fix versionchanged in docs (GH-105299) | 05 June 2023, 03:52:32 UTC |
9f89c47 | Steve Dower | 22 May 2023, 10:40:02 UTC | [3.8] gh-103935: Use `io.open_code()` when executing code in trace and profile modules (GH-103947) (#103954) Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com> | 22 May 2023, 10:40:02 UTC |
2062fce | Miss Islington (bot) | 22 May 2023, 10:39:50 UTC | [3.8] gh-104049: do not expose on-disk location from SimpleHTTPRequestHandler (GH-104067) (#104121) Do not expose the local server's on-disk location from `SimpleHTTPRequestHandler` when generating a directory index. (unnecessary information disclosure) (cherry picked from commit c7c3a60c88de61a79ded9fdaf6bc6a29da4efb9a) Co-authored-by: Ethan Furman <ethan@stoneleaf.us> Co-authored-by: Gregory P. Smith <greg@krypto.org> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | 22 May 2023, 10:39:50 UTC |
47ec96a | Miss Islington (bot) | 22 May 2023, 10:39:26 UTC | [3.8] gh-99889: Fix directory traversal security flaw in uu.decode() (GH-104096) (#104332) (cherry picked from commit 0aeda297931820436a50b78f4f7f0597274b5df4) Co-authored-by: Sam Carroll <70000253+samcarroll42@users.noreply.github.com> | 22 May 2023, 10:39:26 UTC |
79e63e5 | Petr Viktorin | 17 May 2023, 12:23:56 UTC | [3.8] gh-102950: Implement PEP 706 – Filter for tarfile.extractall (GH-102953) (#104548) Backport of c8c3956d905e019101038b018129a4c90c9c9b8f | 17 May 2023, 12:23:56 UTC |
3205d1f | Pradyun Gedam | 28 March 2023, 08:55:50 UTC | [3.8] gh-101997: Update bundled pip version to 23.0.1 (GH-101998). (#102244) (cherry picked from commit 89d9ff0f48c51a85920c7372a7df4a2204e32ea5) | 28 March 2023, 08:55:50 UTC |
045b252 | Miss Islington (bot) | 13 March 2023, 23:29:24 UTC | [3.8] gh-102627: Replace address pointing toward malicious web page (GH-102630) (GH-102667) (cherry picked from commit 61479d46848bc7a7f9b571b0b09c4a4b4436d839) Co-authored-by: Blind4Basics <32236948+Blind4Basics@users.noreply.github.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | 13 March 2023, 23:29:24 UTC |
ddd495e | Steve Dower | 07 March 2023, 23:03:06 UTC | [3.8] gh-101726: Update the OpenSSL version to 1.1.1t (GH-101727) (GH-101752) Fixes CVE-2023-0286 (High) and a couple of Medium security issues. https://www.openssl.org/news/secadv/20230207.txt Co-authored-by: Gregory P. Smith <greg@krypto.org> Co-authored-by: Ned Deily <nad@python.org> | 07 March 2023, 23:03:06 UTC |
4812813 | Ned Deily | 04 March 2023, 21:07:35 UTC | [3.8] GH-102306 Avoid GHA CI macOS test_posix failure by using the appropriate macOS SDK (GH-102307) [3.8] Avoid GHA CI macOS test_posix failure by using the appropriate macOS SDK. | 04 March 2023, 21:07:35 UTC |
7a3db0c | Dong-hee Na | 21 February 2023, 16:33:12 UTC | [3.8] gh-101981: Fix Ubuntu SSL tests with OpenSSL (3.1.0-beta1) CI i… (#102095) [3.8] gh-101981: Fix Ubuntu SSL tests with OpenSSL (3.1.0-beta1) CI issue (gh-102079) | 21 February 2023, 16:33:12 UTC |
32a1a61 | Miss Islington (bot) | 09 February 2023, 10:00:51 UTC | [3.8] gh-101283: Improved fallback logic for subprocess with shell=True on Windows (GH-101286) (#101710) Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> Co-authored-by: Steve Dower <steve.dower@microsoft.com> | 09 February 2023, 10:00:51 UTC |
41d301a | Éric | 08 February 2023, 10:06:21 UTC | [3.8] gh-95778: add doc missing in some places (GH-100627) (#101630) (cherry picked from commit 46521826cb1883e29e4640f94089dd92c57efc5b) | 08 February 2023, 10:06:21 UTC |
db924a4 | Miss Islington (bot) | 30 January 2023, 18:11:54 UTC | gh-101422: (docs) TarFile default errorlevel argument is 1, not 0 (GH-101424) (cherry picked from commit ea232716d3de1675478db3a302629ba43194c967) Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com> | 30 January 2023, 18:11:54 UTC |
be3b5f7 | Steve Dower | 23 January 2023, 17:53:56 UTC | [3.8] gh-100180: Update Windows installer to OpenSSL 1.1.1s (GH-100903) (#101258) | 23 January 2023, 17:53:56 UTC |
e57a3c1 | Miss Islington (bot) | 21 January 2023, 19:40:58 UTC | [3.8] Bump Azure Pipelines to ubuntu-22.04 (GH-101089) (#101215) (cherry picked from commit c22a55c8b4f142ff679880ec954691d5920b7845) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> | 21 January 2023, 19:40:58 UTC |
594ba19 | Gregory P. Smith | 20 January 2023, 22:20:09 UTC | [3.8] Correct CVE-2020-10735 documentation (GH-100306) (#100698) (cherry picked from commit 1cf3d78c92eb07dc09d15cc2e773b0b1b9436825) (cherry picked from commit 88fe8d701af3316c8869ea18ea1c7acec6f68c04) Co-authored-by: Jeremy Paige <ucodery@gmail.com> Co-authored-by: Gregory P. Smith <greg@krypto.org> | 20 January 2023, 22:20:09 UTC |
6924cba | Miss Islington (bot) | 09 January 2023, 03:13:24 UTC | [3.8] Update copyright year in README (GH-100863) (GH-100867) (cherry picked from commit 30a6cc418a60fccb91ba574b552203425e594c47) Co-authored-by: Ned Deily <nad@python.org> Co-authored-by: HARSHA VARDHAN <75431678+Thunder-007@users.noreply.github.com> | 09 January 2023, 03:13:24 UTC |
30afa75 | Benjamin Peterson | 08 January 2023, 23:00:31 UTC | [3.8] Update copyright years to 2023. (gh-100852) * [3.8] Update copyright years to 2023. (gh-100848). (cherry picked from commit 11f99323c2ae0ec428c370a335695e3d8d4afc1d) Co-authored-by: Benjamin Peterson <benjamin@python.org> * Update additional copyright years to 2023. Co-authored-by: Ned Deily <nad@python.org> | 08 January 2023, 23:00:31 UTC |
266a502 | Łukasz Langa | 06 December 2022, 19:33:43 UTC | Post 3.8.16 | 06 December 2022, 19:33:43 UTC |
1e3d2d5 | Łukasz Langa | 06 December 2022, 18:59:58 UTC | Python 3.8.16 | 06 December 2022, 18:59:58 UTC |
e43393a | Miss Islington (bot) | 06 December 2022, 10:20:22 UTC | [3.8] gh-100001: Omit control characters in http.server stderr logs. (GH-100002) (#100033) * gh-100001: Omit control characters in http.server stderr logs. (GH-100002) Replace control characters in http.server.BaseHTTPRequestHandler.log_message with an escaped \xHH sequence to avoid causing problems for the terminal the output is printed to. (cherry picked from commit d8ab0a4dfa48f881b4ac9ab857d2e9de42f72828) Co-authored-by: Gregory P. Smith <greg@krypto.org> * also escape \s (backport of PR #100038). * add versionadded and remove extraneous 'to' Co-authored-by: Gregory P. Smith <greg@krypto.org> | 06 December 2022, 10:20:22 UTC |
b50b6f9 | Miss Islington (bot) | 21 November 2022, 21:06:01 UTC | [3.8] gh-87604: Avoid publishing list of active per-interpreter audit hooks via the gc module (GH-99373) (GH-99661) (cherry picked from commit 7b98207aa46bd637d07a7c4a84e998726b74acde) Co-authored-by: Steve Dower <steve.dower@python.org> | 21 November 2022, 21:06:01 UTC |
82ca283 | Miss Islington (bot) | 10 November 2022, 15:55:43 UTC | [3.8] gh-98433: Fix quadratic time idna decoding. (GH-99092) (GH-99222) (GH-99231) There was an unnecessary quadratic loop in idna decoding. This restores the behavior to linear. (cherry picked from commit d315722564927c7202dd6e111dc79eaf14240b0d) (cherry picked from commit a6f6c3a3d6f2b580f2d87885c9b8a9350ad7bf15) Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Co-authored-by: Gregory P. Smith <greg@krypto.org> | 10 November 2022, 15:55:43 UTC |
948c679 | Miss Islington (bot) | 28 October 2022, 10:07:50 UTC | [3.8] gh-98517: Fix buffer overflows in _sha3 module (GH-98519) (#98527) This is a port of the applicable part of XKCP's fix [1] for CVE-2022-37454 and avoids the segmentation fault and the infinite loop in the test cases published in [2]. [1]: https://github.com/XKCP/XKCP/commit/fdc6fef075f4e81d6b1bc38364248975e08e340a [2]: https://mouha.be/sha-3-buffer-overflow/ Regression test added by: Gregory P. Smith [Google LLC] <greg@krypto.org> (cherry picked from commit 0e4e058602d93b88256ff90bbef501ba20be9dd3) Co-authored-by: Theo Buehler <botovq@users.noreply.github.com> | 28 October 2022, 10:07:50 UTC |
0037d46 | Miss Islington (bot) | 28 October 2022, 10:07:14 UTC | [3.8] gh-98739: Update libexpat from 2.4.9 to 2.5.0 (GH-98742) (#98787) Update libexpat from 2.4.9 to 2.5.0 to address CVE-2022-43680. Co-authored-by: Shaun Walbridge <shaun.walbridge@gmail.com> (cherry picked from commit 3e07f827b359617664ad0880f218f17ae4483299) | 28 October 2022, 10:07:14 UTC |
0a4f650 | Miss Islington (bot) | 11 October 2022, 21:58:03 UTC | [3.8] gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993) (#98192) gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993) (cherry picked from commit b9509ba7a9c668b984dab876c7926fe1dc5aa0ba) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> | 11 October 2022, 21:58:03 UTC |
a44cc0a | Miss Islington (bot) | 11 October 2022, 21:13:43 UTC | [3.8] gh-96710: Make the test timing more lenient for the int/str DoS regression test. (GH-96717) (#98197) gh-96710: Make the test timing more lenient for the int/str DoS regression test. (GH-96717) A regression would still absolutely fail and even a flaky pass isn't harmful as it'd fail most of the time across our N system test runs. Windows has a low resolution timer and CI systems are prone to odd timing so this just gives more leeway to avoid flakiness. (cherry picked from commit 11e3548fd1d3445ccde971d613633b58d73c3016) Co-authored-by: Gregory P. Smith <greg@krypto.org> | 11 October 2022, 21:13:43 UTC |
4f1364c | Łukasz Langa | 11 October 2022, 18:09:14 UTC | Post 3.8.15 | 11 October 2022, 18:09:14 UTC |
44adf8a | Łukasz Langa | 11 October 2022, 15:42:49 UTC | Python 3.8.15 | 11 October 2022, 15:42:49 UTC |
dca2fd2 | Miss Islington (bot) | 04 October 2022, 18:58:10 UTC | [3.8] gh-95778: Mention sys.set_int_max_str_digits() in error message (GH-96874) (GH-96877) (GH-97835) [3.9] gh-95778: Mention sys.set_int_max_str_digits() in error message (GH-96874) (GH-96877) When ValueError is raised if an integer is larger than the limit, mention sys.set_int_max_str_digits() in the error message. (cherry picked from commit e841ffc915e82e5ea6e3b473205417d63494808d) Co-authored-by: Ned Deily <nad@python.org> (cherry picked from commit 41188134bd2120f0cedd681ed88743c11c7f3742) Co-authored-by: Victor Stinner <vstinner@python.org> | 04 October 2022, 18:58:10 UTC |
18a0cdb | Miss Islington (bot) | 04 October 2022, 18:57:06 UTC | [3.8] gh-96848: Fix -X int_max_str_digits option parsing (GH-96988) (GH-97575) Fix command line parsing: reject "-X int_max_str_digits" option with no value (invalid) when the PYTHONINTMAXSTRDIGITS environment variable is set to a valid limit. (cherry picked from commit 41351662bcd21672d8ccfa62fe44d72027e6bcf8) Co-authored-by: Victor Stinner <vstinner@python.org> | 04 October 2022, 18:57:06 UTC |
12c72d6 | Miss Islington (bot) | 04 October 2022, 18:07:09 UTC | [3.8] gh-96577: Fixes buffer overrun in _msi module (GH-96633) (GH-96658) gh-96577: Fixes buffer overrun in _msi module (GH-96633) (cherry picked from commit 4114bcc9ef7595a07196bcecf9c7d6d39f57f64d) Co-authored-by: Steve Dower <steve.dower@python.org> | 04 October 2022, 18:07:09 UTC |
069b718 | Miss Islington (bot) | 04 October 2022, 18:06:26 UTC | [3.8] gh-97005: Update libexpat from 2.4.7 to 2.4.9 (gh-97006) (gh-97013) gh-97005: Update libexpat from 2.4.7 to 2.4.9 (gh-97006) Co-authored-by: Gregory P. Smith [Google] <greg@krypto.org> (cherry picked from commit 10e3d398c31cc1695752fc52bc6ca2ce9ef6237e) Co-authored-by: Dong-hee Na <donghee.na@python.org> | 04 October 2022, 18:06:26 UTC |
f9ce9d4 | Miss Islington (bot) | 04 October 2022, 17:08:24 UTC | [3.8] gh-97616: list_resize() checks for integer overflow (GH-97617) (GH-97628) gh-97616: list_resize() checks for integer overflow (GH-97617) Fix multiplying a list by an integer (list *= int): detect the integer overflow when the new allocated length is close to the maximum size. Issue reported by Jordan Limor. list_resize() now checks for integer overflow before multiplying the new allocated length by the list item size (sizeof(PyObject*)). (cherry picked from commit a5f092f3c469b674b8d9ccbd4e4377230c9ac7cf) Co-authored-by: Victor Stinner <vstinner@python.org> | 04 October 2022, 17:08:24 UTC |
9062049 | Miss Islington (bot) | 04 October 2022, 17:07:55 UTC | [3.8] gh-97612: Fix shell injection in get-remote-certificate.py (GH-97613) (GH-97633) Fix a shell code injection vulnerability in the get-remote-certificate.py example script. The script no longer uses a shell to run "openssl" commands. Issue reported and initial fix by Caleb Shortt. Remove the Windows code path to send "quit" on stdin to the "openssl s_client" command: use DEVNULL on all platforms instead. Co-authored-by: Caleb Shortt <caleb@rgauge.com> (cherry picked from commit 83a0f44ffd8b398673ae56c310cf5768d359c341) Co-authored-by: Victor Stinner <vstinner@python.org> | 04 October 2022, 17:07:55 UTC |
246a044 | Ned Deily | 11 September 2022, 18:50:47 UTC | [3.8] Update bugs URL references in README and Docs/bugs.rst from bpo to gh issues (GH-96728) Co-authored-by: roy reznik <royreznik@gmail.com> Co-authored-by: Inada Naoki <songofacandy@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> | 11 September 2022, 18:50:47 UTC |
67d5c50 | Łukasz Langa | 06 September 2022, 21:13:41 UTC | Post 3.8.14 | 06 September 2022, 21:13:41 UTC |
f43e767 | Łukasz Langa | 06 September 2022, 18:54:44 UTC | Python 3.8.14 | 06 September 2022, 20:59:22 UTC |
b5e331f | Gregory P. Smith | 05 September 2022, 20:26:09 UTC | [3.8] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96503) * Correctly pre-check for int-to-str conversion Converting a large enough `int` to a decimal string raises `ValueError` as expected. However, the raise comes _after_ the quadratic-time base-conversion algorithm has run to completion. For effective DOS prevention, we need some kind of check before entering the quadratic-time loop. Oops! =) The quick fix: essentially we catch _most_ values that exceed the threshold up front. Those that slip through will still be on the small side (read: sufficiently fast), and will get caught by the existing check so that the limit remains exact. The justification for the current check. The C code check is: ```c max_str_digits / (3 * PyLong_SHIFT) <= (size_a - 11) / 10 ``` In GitHub markdown math-speak, writing $M$ for `max_str_digits`, $L$ for `PyLong_SHIFT` and $s$ for `size_a`, that check is: $$\left\lfloor\frac{M}{3L}\right\rfloor \le \left\lfloor\frac{s - 11}{10}\right\rfloor$$ From this it follows that $$\frac{M}{3L} < \frac{s-1}{10}$$ hence that $$\frac{L(s-1)}{M} > \frac{10}{3} > \log_2(10).$$ So $$2^{L(s-1)} > 10^M.$$ But our input integer $a$ satisfies $|a| \ge 2^{L(s-1)}$, so $|a|$ is larger than $10^M$. This shows that we don't accidentally capture anything _below_ the intended limit in the check. <!-- gh-issue-number: gh-95778 --> * Issue: gh-95778 <!-- /gh-issue-number --> Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org> Co-authored-by: Christian Heimes <christian@python.org> Co-authored-by: Mark Dickinson <dickinsm@gmail.com> | 05 September 2022, 20:26:09 UTC |
4f100fe | Dong-hee Na | 28 July 2022, 19:30:13 UTC | [3.8] gh-90359: Update documentation to follow PEP 495. (gh-94800). (GH-94834) (cherry picked from commit 07374cce52abb7fd39729dc1b646ca3029b64c64) Co-authored-by: Dong-hee Na <donghee.na@python.org> | 28 July 2022, 19:30:13 UTC |
48b323e | Łukasz Langa | 27 July 2022, 21:43:29 UTC | [3.8] gh-94208: Add more TLS version/protocol checks for FreeBSD (GH-94347) (GH-95313) Three test cases were failing on FreeBSD with latest OpenSSL. (cherry picked from commit 1bc86c26253befa006c0f52eebb6ed633c7d1e5c) Co-authored-by: Christian Heimes <christian@python.org> | 27 July 2022, 21:43:29 UTC |
f78733b | Łukasz Langa | 05 July 2022, 16:07:36 UTC | [3.8] gh-90355: Add isolated flag if currently isolated (GH-92857) (GH-94571) Co-authored-by: Carter Dodd <carter.dodd@gmail.com> Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit c8556bcf6c0b05ac46bd74880626a2853e7c99a1) | 05 July 2022, 16:07:36 UTC |
bd0f2a1 | Łukasz Langa | 01 July 2022, 16:42:13 UTC | [3.8] gh-81054: Document that SimpleHTTPRequestHandler follows symbolic links (GH-94416) (GH-94495) (cherry picked from commit 80aaeabb8bd1e6b49598a7e23e0f8d99b3fcecaf) Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com> | 01 July 2022, 16:42:13 UTC |
51f1ae5 | Miss Islington (bot) | 22 June 2022, 14:07:57 UTC | gh-91172: Create a workflow for verifying bundled pip and setuptools (GH-31885) (GH-94124) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> (cherry picked from commit d36954b7ead06daead3dcf9b0dd9f8002eab508f) Co-authored-by: Illia Volochii <illia.volochii@gmail.com> | 22 June 2022, 14:07:57 UTC |
4dc2cae | Miss Islington (bot) | 22 June 2022, 08:42:52 UTC | gh-87389: Fix an open redirection vulnerability in http.server. (GH-93879) (GH-94094) Fix an open redirection vulnerability in the `http.server` module when an URI path starts with `//` that could produce a 301 Location header with a misleading target. Vulnerability discovered, and logic fix proposed, by Hamza Avvan (@hamzaavvan). Test and comments authored by Gregory P. Smith [Google]. (cherry picked from commit 4abab6b603dd38bec1168e9a37c40a48ec89508e) Co-authored-by: Gregory P. Smith <greg@krypto.org> | 22 June 2022, 08:42:52 UTC |
5776f72 | Miss Islington (bot) | 06 June 2022, 17:10:34 UTC | gh-83728: Add hmac.new default parameter deprecation (GH-91939) (GH-93547) (cherry picked from commit 56b5daf15970be449d44e91f08db84c698ac5506) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> | 06 June 2022, 17:10:34 UTC |
067c372 | Victor Stinner | 06 June 2022, 16:46:16 UTC | bpo-46114: Fix OpenSSL version check for 3.0.1 (GH-30170) (GH-92954) (cherry picked from commit 2985feac4e02d590bb78bcce9e30864be53280ac) Co-authored-by: Christian Heimes <christian@python.org> | 06 June 2022, 16:46:16 UTC |
6d4927a | Łukasz Langa | 24 May 2022, 09:26:25 UTC | [3.8] gh-93065: Fix HAMT to iterate correctly over 7-level deep trees (GH-93066) (#93148) Also while there, clarify a few things about why we reduce the hash to 32 bits. Co-authored-by: Eli Libman <eli@hyro.ai> Co-authored-by: Yury Selivanov <yury@edgedb.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit c1f5c903a7e4ed27190488f4e33b00d3c3d952e5) | 24 May 2022, 09:26:25 UTC |
69cf020 | Erlend Egeberg Aasland | 16 May 2022, 15:39:17 UTC | [3.8] gh-80254: Disallow recursive usage of cursors in sqlite3 converters (#92333) (cherry picked from commit c908dc5b4798c311981bd7e1f7d92fb623ee448b) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | 16 May 2022, 15:39:17 UTC |
7ccdec3 | Miss Islington (bot) | 16 May 2022, 15:35:01 UTC | bpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-25032 (GH-32241) (GH-32250) (cherry picked from commit 6066739ff7794e54c98c08b953a699cbc961cd28) Co-authored-by: Zachary Ware <zach@python.org> | 16 May 2022, 15:35:01 UTC |
a5ed894 | Dong-hee Na | 12 May 2022, 15:42:22 UTC | [3.8] gh-92448: Update the documentation builder to render the GitHub… (GH-92605) (cherry picked from commit 45e1721d100bab09510ccf9da49f14ca5cc268f4) Co-authored-by: Dong-hee Na <donghee.na@python.org> | 12 May 2022, 15:42:22 UTC |
10bc004 | Ezio Melotti | 10 May 2022, 07:51:20 UTC | [3.8] Update Sphinx bpo role to use redirect URI. (#91892) * Update Sphinx bpo role to use redirect URI. (GH-32342) * [3.8] Update Sphinx bpo role to use redirect URI. (GH-32342). (cherry picked from commit 08cfe079503ffd19d8b7ab324f0fdb1c6b150ca8) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> | 10 May 2022, 07:51:20 UTC |
b3b1ff1 | Miss Islington (bot) | 10 May 2022, 07:47:04 UTC | Add redirects to Misc/NEWS bpo links (GH-91454) (#91895) (cherry picked from commit 17dbb6bc10ca8a8b602335414c047294f00afcbe) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> | 10 May 2022, 07:47:04 UTC |
0638941 | Ezio Melotti | 10 May 2022, 07:43:17 UTC | [3.8] gh-91888: add a `:gh:` role to the documentation (GH-91889) (#91936) * gh-91888: Add a :gh: role to the documentation (GH-91889). * [3.8] gh-91888: add a `:gh:` role to the documentation (GH-91889) * Add a new :gh:`...` role for GitHub issues. * Fix a GitHub id to use the :gh: role. * Add Misc/NEWS entry. * Refactoring and rephrasing. Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>. (cherry picked from commit f7641a2ffec243e5f600028a84debe9028a9ee44) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> * Fix use of the default role in NEWS entry | 10 May 2022, 07:43:17 UTC |
bf54487 | Steve Dower | 09 May 2022, 13:47:32 UTC | bpo-47138: Ensure Windows docs build uses the same pinned version as other platforms (GH-32161) (#32183) Co-authored-by: Ned Deily <nad@python.org> | 09 May 2022, 13:47:32 UTC |