PyPi: Rencode

CVE-2021-40839

Safety vulnerability ID: 41290

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Sep 10, 2021 Updated at Nov 29, 2024
Scan your Python projects for vulnerabilities →

Advisory

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.
https://seclists.org/fulldisclosure/2021/Sep/16

Affected package

rencode

Latest version: 1.0.6

Web safe object pickling/unpickling

Affected versions

Fixed versions

Vulnerability changelog

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. See CVE-2021-40839.


MISC:https://github.com/aresch/rencode/commit/572ff74586d9b1daab904c6f7f7009ce0143bb75: https://github.com/aresch/rencode/commit/572ff74586d9b1daab904c6f7f7009ce0143bb75
MISC:https://github.com/aresch/rencode/pull/29: https://github.com/aresch/rencode/pull/29
MISC:https://pypi.org/project/rencode/#history: https://pypi.org/project/rencode/#history
MISC:https://seclists.org/fulldisclosure/2021/Sep/16: https://seclists.org/fulldisclosure/2021/Sep/16

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 7.5

CVSS v3 Details

HIGH 7.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
NONE
Integrity Impact (I)
NONE
Availability Availability (A)
HIGH

CVSS v2 Details

MEDIUM 5.0
Access Vector (AV)
NETWORK
Access Complexity (AC)
LOW
Authentication (Au)
NONE
Confidentiality Impact (C)
NONE
Integrity Impact (I)
NONE
Availability Impact (A)
PARTIAL