Hide Forgot
A vulnerability was found in PyLong_FromString() in Python, which is used by int("text"). For non-binary bases it uses an algorithm with quadratic time complexity to convert a string into an arbitrary precision number. It takes about 50ms to parse an int string with 100,000 digits and about 5sec for 1,000,000 digits. The float type, decimal type, int.from_bytes(), and int() for binary bases 2, 4, 8, 16, and 32 are not affected.
Upstream Python is going to provide fixes for all supported Python versions (3.5, 3.6, 3.7, 3.8, 3.9-dev).
Created mingw-python3 tracking bugs for this issue: Affects: fedora-all [bug 2124161] Created python34 tracking bugs for this issue: Affects: epel-all [bug 2124160]
Created python34 tracking bugs for this issue: Affects: fedora-all [bug 2124162] Created python35 tracking bugs for this issue: Affects: fedora-all [bug 2124163]
(In reply to Sandipan Roy from comment #13) > Created python34 tracking bugs for this issue: > > Affects: fedora-all [bug 2124162] > > > Created python35 tracking bugs for this issue: > > Affects: fedora-all [bug 2124163] Both of the packages are retired in Fedora for many releases :/
FEDORA-2022-4b31e33ed0 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-46a44a7f83 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-b01214472e has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-f330bbfda2 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-6d57598a23 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-8535093cba has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-0b3904c674 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-ac82a548df has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 7 Via RHSA-2022:6766 https://access.redhat.com/errata/RHSA-2022:6766
This issue has been addressed in the following products: Red Hat Enterprise Linux 9 Via RHSA-2022:7323 https://access.redhat.com/errata/RHSA-2022:7323
This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2023:0833 https://access.redhat.com/errata/RHSA-2023:0833