CVEvulnerability
CVE-2021-40839
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-09-10
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-835
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.
Affected configurations
• rencode project rencode (<= 1.0.6)
• fedoraproject fedora 34
• fedoraproject fedora 35
Related
Weakness · CWE (1)
- CWE-835 Loop with Unreachable Exit Condition weakness
References
- https://github.com/aresch/rencode/commit/572ff74586d9b1daab904c6f7f7009ce0143bb75 Patch, Third Party Advisory
- https://github.com/aresch/rencode/pull/29 Patch, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BMVQRPDVSVZNGGX57CFKCYT3DEYO4QB6/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MCLETLGVM5DBX6QNHQFW6TWGO5T3DENY/ lists.fedoraproject.org
- https://pypi.org/project/rencode/#history Third Party Advisory
- https://seclists.org/fulldisclosure/2021/Sep/16 Mailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20211008-0001/ Third Party Advisory
- https://github.com/aresch/rencode/commit/572ff74586d9b1daab904c6f7f7009ce0143bb75 Patch, Third Party Advisory
- https://github.com/aresch/rencode/pull/29 Patch, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BMVQRPDVSVZNGGX57CFKCYT3DEYO4QB6/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MCLETLGVM5DBX6QNHQFW6TWGO5T3DENY/ lists.fedoraproject.org
- https://pypi.org/project/rencode/#history Third Party Advisory
- https://seclists.org/fulldisclosure/2021/Sep/16 Mailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20211008-0001/ Third Party Advisory