PT-2021-22973 · Pypi+3 · Encode+3
Antoine Martin
·
Published
2021-09-10
·
Updated
2026-03-27
·
CVE-2021-40839
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
rencode package through 1.0.6 for Python
Description
The issue allows an infinite loop in typecode decoding, such as via
;x2fx7f, enabling a remote attack that consumes CPU and memory.Recommendations
For rencode package versions through 1.0.6, consider updating to a version later than 1.0.6 to resolve the issue.
As a temporary workaround, consider restricting the use of typecode decoding functionality until a patch is available.
Fix
Infinite Loop
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Debian
Red Os
Encode