{"id":"CVE-2021-40839","published":"2021-09-10T01:03:33Z","modified":"2024-08-04T02:51:07Z","title":"The rencode package through 1.0.6 for Python allows an infinite loop in typecode decoding (such as via ;\\x2f\\x7f)…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0552,"percentile":0.92995,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/aresch/rencode/pull/29","tags":["x_refsource_MISC"]},{"url":"https://seclists.org/fulldisclosure/2021/Sep/16","tags":["x_refsource_MISC"]},{"url":"https://github.com/aresch/rencode/commit/572ff74586d9b1daab904c6f7f7009ce0143bb75","tags":["x_refsource_MISC"]},{"url":"https://pypi.org/project/rencode/#history","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20211008-0001/","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BMVQRPDVSVZNGGX57CFKCYT3DEYO4QB6/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MCLETLGVM5DBX6QNHQFW6TWGO5T3DENY/","tags":["vendor-advisory","x_refsource_FEDORA"]}],"priority":{"score":23.6,"factors":[{"name":"EPSS percentile","points":18.6},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2021-12-13","earliestUrl":"https://github.com/itlabbet/CVE-2021-40839","repos":[{"name":"itlabbet/CVE-2021-40839","url":"https://github.com/itlabbet/CVE-2021-40839","stars":1,"created":"2021-12-13"}]},"first":{"date":"2021-12-13","source":"PoC-in-GitHub","url":"https://github.com/itlabbet/CVE-2021-40839"},"provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"rencode","vulnerableRanges":["<=1.0.6","all versions"],"patched":[],"from":["GHSA-gh8j-2pgf-x458","PYSEC-2021-345"],"provenance":"source"}],"summary":{"text":"The rencode Python package, through version 1.0.6, contains a flaw in its typecode decoding logic that can cause an infinite loop when processing crafted input such as the byte sequence ;\\x2f\\x7f.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:06:36Z"},"euvd":{"id":"EUVD-2021-0222","exploited":false,"provenance":"source"}}