CVE-2021-40839
Infinite Loop in rencode
7.5
HIGH
CVSS 3.1
EPSS 17.3%
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.
How to fix CVE-2021-40839
To remediate CVE-2021-40839, upgrade the affected package to a fixed version below.
- Debian/python-rencode—no fix listed
- PyPI/rencode—no fix listed
- —upgrade to 572ff74586d9b1daab904c6f7f7009ce0143bb75 or later
Is CVE-2021-40839 being exploited?
Moderate — EPSS is 17.3%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (3)
- from 0
- from 0, <= 1.0.6
- from 0, < 572ff74586d9b1daab904c6f7f7009ce0143bb75 | from 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |