GitHub Advisoryadvisory · PyPI
GHSA-gh8j-2pgf-x458 Infinite Loop in rencode
HIGH
Official page ↗
- Aliases
- CVE-2021-40839
- Ecosystem
- PyPI
- Packages
- rencode
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-835
- Reviewed
- 2021-09-13
Affected packages
• PyPI rencode: <= 1.0.6 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2021-40839 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… vulnerability
Weakness · CWE (1)
- CWE-835 Loop with Unreachable Exit Condition weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-40839 advisory
- https://github.com/aresch/rencode/pull/29 web
- https://github.com/aresch/rencode/commit/572ff74586d9b1daab904c6f7f7009ce0143bb75 web
- https://github.com/advisories/GHSA-gh8j-2pgf-x458 advisory
- https://github.com/aresch/rencode package
- https://github.com/pypa/advisory-database/tree/main/vulns/rencode/PYSEC-2021-345.yaml web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BMVQRPDVSVZNGGX57CFKCYT3DEYO4QB6 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MCLETLGVM5DBX6QNHQFW6TWGO5T3DENY web
- https://pypi.org/project/rencode/#history web
- https://seclists.org/fulldisclosure/2021/Sep/16 web
- https://security.netapp.com/advisory/ntap-20211008-0001 web