high7.5
CVE-2021-40839
Infinite Loop in rencode
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | rencode | <= 1.0.6 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Rencode Project | Rencode | through 1.0.6 |
| Fedoraproject | Fedora | Versions 34, 35 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/aresch/rencode/commit/572ff74586d9b1daab904c6f7f7009ce0143bb75
- https://github.com/aresch/rencode/pull/29
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BMVQRPDVSVZNGGX57CFKCYT3DEYO4QB6/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MCLETLGVM5DBX6QNHQFW6TWGO5T3DENY/
- https://pypi.org/project/rencode/#history
- https://seclists.org/fulldisclosure/2021/Sep/16
- https://security.netapp.com/advisory/ntap-20211008-0001/
- https://github.com/advisories/GHSA-gh8j-2pgf-x458
- https://nvd.nist.gov/vuln/detail/CVE-2021-40839
- https://github.com/pypa/advisory-database/tree/main/vulns/rencode/PYSEC-2021-345.yaml
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BMVQRPDVSVZNGGX57CFKCYT3DEYO4QB6
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MCLETLGVM5DBX6QNHQFW6TWGO5T3DENY
- https://security.netapp.com/advisory/ntap-20211008-0001