Vulnerability Details : 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 that consumes CPU and memory.
Products affected by CVE-2021-40839
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- cpe:2.3:a:rencode_project:rencode:*:*:*:*:*:python:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-40839
0.43%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 75 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-40839
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2021-40839
-
The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-40839
-
https://github.com/aresch/rencode/pull/29
fix typecode decoding DoS by totaam · Pull Request #29 · aresch/rencode · GitHubPatch;Third Party Advisory
-
https://seclists.org/fulldisclosure/2021/Sep/16
Full Disclosure: rencode 3-byte packet DoSMailing List;Third Party Advisory
-
https://github.com/aresch/rencode/commit/572ff74586d9b1daab904c6f7f7009ce0143bb75
Fix checking if typecode is valid while decoding. · aresch/rencode@572ff74 · GitHubPatch;Third Party Advisory
-
https://security.netapp.com/advisory/ntap-20211008-0001/
CVE-2021-40839 Python Vulnerability in NetApp Products | NetApp Product SecurityThird Party Advisory
-
https://pypi.org/project/rencode/#history
rencode · PyPIThird Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BMVQRPDVSVZNGGX57CFKCYT3DEYO4QB6/
[SECURITY] Fedora 34 Update: python-rencode-1.0.6-17.fc34 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MCLETLGVM5DBX6QNHQFW6TWGO5T3DENY/
[SECURITY] Fedora 35 Update: python-rencode-1.0.6-17.fc35 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
Jump to