{"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-04-16T04:43:30.897347350Z","published":"2021-09-10T02:15:07.933Z","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://seclists.org/fulldisclosure/2021/Sep/16"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20211008-0001/"},{"type":"ADVISORY","url":"https://pypi.org/project/rencode/#history"},{"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":{"versions":[{"introduced":"0"},{"last_affected":"1.0.6"}]}}],"versions":["v1.0","v1.0.3","v1.0.4","v1.0.5","v1.0.6"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"34"}]},{"events":[{"introduced":"0"},{"last_affected":"35"}]}],"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"}]}