CVE-2021-40839

Source
https://cve.org/CVERecord?id=CVE-2021-40839
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40839.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-40839
Aliases
Downstream
Published
2021-09-10T02:15:07Z
Modified
2026-10-20T10:53:56Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "range": [
                        {
                            "introduced": "34"
                        },
                        {
                            "last_affected": "34"
                        },
                        {
                            "introduced": "35"
                        },
                        {
                            "last_affected": "35"
                        }
                    ],
                    "source": "CPE_STRING"
                }
            ],
            "vendor_product": "fedoraproject:fedora"
        }
    ]
}
References

Affected packages

Git / github.com/aresch/rencode

Affected ranges

Type
GIT
Repo
https://github.com/aresch/rencode
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:rencode_project:rencode:*:*:*:*:*:python:*:*",
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "last_affected": "1.0.6"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "range": [
                {
                    "fixed": "572ff74586d9b1daab904c6f7f7009ce0143bb75"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v1.*
v1.0
v1.0.3
v1.0.4
v1.0.5
v1.0.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40839.json"