CVE-2021-40839

Summary

CVECVE-2021-40839
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-09-10 02:15:00 UTC
Updated2023-11-07 03:38:00 UTC
DescriptionThe 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.

Risk And Classification

Problem Types: CWE-835

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 34 All All All
Operating System Fedoraproject Fedora 35 All All All
Application Rencode Project Rencode All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 34 Update: python-rencode-1.0.6-17.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Mailing List, Third Party Advisory
Full Disclosure: rencode 3-byte packet DoS MISC seclists.org
[SECURITY] Fedora 34 Update: python-rencode-1.0.6-17.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Fix checking if typecode is valid while decoding. · aresch/rencode@572ff74 · GitHub MISC github.com
fix typecode decoding DoS by totaam · Pull Request #29 · aresch/rencode · GitHub MISC github.com
[SECURITY] Fedora 35 Update: python-rencode-1.0.6-17.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org Mailing List, Third Party Advisory
CVE-2021-40839 Python Vulnerability in NetApp Products | NetApp Product Security CONFIRM security.netapp.com
[SECURITY] Fedora 35 Update: python-rencode-1.0.6-17.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
rencode · PyPI MISC pypi.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 183781 Debian Security Update for python-rencode (CVE-2021-40839)
  • 282384 Fedora Security Update for python (FEDORA-2022-02340931ec)
  • 282385 Fedora Security Update for python (FEDORA-2022-1033a2718b)
  • 502924 Alpine Linux Security Update for py3-rencode
  • 505803 Alpine Linux Security Update for py3-rencode
  • 691120 Free Berkeley Software Distribution (FreeBSD) Security Update for py39 (70d0d2ec-cb62-11ed-956f-7054d21a9e2a)
  • 980459 Python (pip) Security Update for rencode (GHSA-gh8j-2pgf-x458)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report