{"id":"CVE-2021-40839","details":"The rencode package through 1.0.6 for Python allows an infinite loop in typecode decoding (such as via ;\\x2f\\x7f), enabling a remote attack that consumes CPU and memory.","aliases":["GHSA-gh8j-2pgf-x458","PYSEC-2021-345"],"modified":"2026-07-08T06:01:18.168979734Z","published":"2021-09-10T02:15:07.933Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"34"},{"last_affected":"34"},{"introduced":"35"},{"last_affected":"35"}],"source":"CPE_STRING","vendor_product":"fedoraproject:fedora","cpes":["cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"]}]},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BMVQRPDVSVZNGGX57CFKCYT3DEYO4QB6/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MCLETLGVM5DBX6QNHQFW6TWGO5T3DENY/"},{"type":"ADVISORY","url":"https://pypi.org/project/rencode/#history"},{"type":"ADVISORY","url":"https://seclists.org/fulldisclosure/2021/Sep/16"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20211008-0001/"},{"type":"FIX","url":"https://github.com/aresch/rencode/commit/572ff74586d9b1daab904c6f7f7009ce0143bb75"},{"type":"FIX","url":"https://github.com/aresch/rencode/pull/29"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/aresch/rencode","events":[{"introduced":"0"},{"last_affected":"53d72ac53d9df007aad3a980f049a80d81836619"},{"fixed":"572ff74586d9b1daab904c6f7f7009ce0143bb75"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:rencode_project:rencode:*:*:*:*:*:python:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"1.0.6"}]}}],"versions":["v1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40839.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}