{"id":"GHSA-gh8j-2pgf-x458","summary":"Infinite Loop in rencode","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":["CVE-2021-40839","PYSEC-2021-345"],"modified":"2024-10-26T18:49:27.328632Z","published":"2021-09-13T20:05:51Z","database_specific":{"cwe_ids":["CWE-835"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-09-13T19:11:37Z","nvd_published_at":"2021-09-10T02:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40839"},{"type":"WEB","url":"https://github.com/aresch/rencode/pull/29"},{"type":"WEB","url":"https://github.com/aresch/rencode/commit/572ff74586d9b1daab904c6f7f7009ce0143bb75"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-gh8j-2pgf-x458"},{"type":"PACKAGE","url":"https://github.com/aresch/rencode"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/rencode/PYSEC-2021-345.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BMVQRPDVSVZNGGX57CFKCYT3DEYO4QB6"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MCLETLGVM5DBX6QNHQFW6TWGO5T3DENY"},{"type":"WEB","url":"https://pypi.org/project/rencode/#history"},{"type":"WEB","url":"https://seclists.org/fulldisclosure/2021/Sep/16"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20211008-0001"}],"affected":[{"package":{"name":"rencode","ecosystem":"PyPI","purl":"pkg:pypi/rencode"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.6"}]}],"versions":["1.0.3","1.0.4","1.0.5","1.0.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-gh8j-2pgf-x458/GHSA-gh8j-2pgf-x458.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}