CVE-2021-40839: Infinite Loop in rencode
(updated )
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.
References
- github.com/advisories/GHSA-gh8j-2pgf-x458
- github.com/aresch/rencode
- github.com/aresch/rencode/commit/572ff74586d9b1daab904c6f7f7009ce0143bb75
- github.com/aresch/rencode/pull/29
- github.com/pypa/advisory-database/tree/main/vulns/rencode/PYSEC-2021-345.yaml
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BMVQRPDVSVZNGGX57CFKCYT3DEYO4QB6
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MCLETLGVM5DBX6QNHQFW6TWGO5T3DENY
- nvd.nist.gov/vuln/detail/CVE-2021-40839
- pypi.org/project/rencode/
- seclists.org/fulldisclosure/2021/Sep/16
- security.netapp.com/advisory/ntap-20211008-0001
Detect and mitigate CVE-2021-40839 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →