7.5
HIGH CVSS 3.1
CVE-2021-40839
Apache Reencode Infinite Typecode Decoding Vulnerability
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.

INFO

Published Date :

Sept. 10, 2021, 2:15 a.m.

Last Modified :

Nov. 21, 2024, 6:24 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2021-40839 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Rencode_project rencode
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
Solution
Follow the instructions below to mitigate the CVE-2021-40839 vulnerability.
There is no known solution at this time.
Public PoC/Exploit Available at Github

CVE-2021-40839 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-40839 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-40839 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 4 months, 2 weeks ago
9 stars 1 fork 1 watcher
Born at : June 21, 2022, 7:45 a.m. This repo has been linked 944 different CVEs too.

Dirty Cow kernel exploit without libcrypt dependency

C

Updated: 3 years, 7 months ago
1 stars 0 fork 0 watcher
Born at : Dec. 13, 2021, 9:47 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-40839 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-40839 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/aresch/rencode/commit/572ff74586d9b1daab904c6f7f7009ce0143bb75
    Added Reference https://github.com/aresch/rencode/pull/29
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BMVQRPDVSVZNGGX57CFKCYT3DEYO4QB6/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MCLETLGVM5DBX6QNHQFW6TWGO5T3DENY/
    Added Reference https://pypi.org/project/rencode/#history
    Added Reference https://seclists.org/fulldisclosure/2021/Sep/16
    Added Reference https://security.netapp.com/advisory/ntap-20211008-0001/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BMVQRPDVSVZNGGX57CFKCYT3DEYO4QB6/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MCLETLGVM5DBX6QNHQFW6TWGO5T3DENY/ [No types assigned]
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/BMVQRPDVSVZNGGX57CFKCYT3DEYO4QB6/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/MCLETLGVM5DBX6QNHQFW6TWGO5T3DENY/
  • Modified Analysis by [email protected]

    Feb. 22, 2022

    Action Type Old Value New Value
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/BMVQRPDVSVZNGGX57CFKCYT3DEYO4QB6/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/BMVQRPDVSVZNGGX57CFKCYT3DEYO4QB6/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/MCLETLGVM5DBX6QNHQFW6TWGO5T3DENY/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/MCLETLGVM5DBX6QNHQFW6TWGO5T3DENY/ Mailing List, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Feb. 15, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/MCLETLGVM5DBX6QNHQFW6TWGO5T3DENY/ [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 15, 2022

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/BMVQRPDVSVZNGGX57CFKCYT3DEYO4QB6/ [No Types Assigned]
  • Modified Analysis by [email protected]

    Dec. 02, 2021

    Action Type Old Value New Value
    Changed Reference Type https://security.netapp.com/advisory/ntap-20211008-0001/ No Types Assigned https://security.netapp.com/advisory/ntap-20211008-0001/ Third Party Advisory
  • CVE Modified by [email protected]

    Oct. 08, 2021

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20211008-0001/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 23, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://github.com/aresch/rencode/commit/572ff74586d9b1daab904c6f7f7009ce0143bb75 No Types Assigned https://github.com/aresch/rencode/commit/572ff74586d9b1daab904c6f7f7009ce0143bb75 Patch, Third Party Advisory
    Changed Reference Type https://github.com/aresch/rencode/pull/29 No Types Assigned https://github.com/aresch/rencode/pull/29 Patch, Third Party Advisory
    Changed Reference Type https://pypi.org/project/rencode/#history No Types Assigned https://pypi.org/project/rencode/#history Third Party Advisory
    Changed Reference Type https://seclists.org/fulldisclosure/2021/Sep/16 No Types Assigned https://seclists.org/fulldisclosure/2021/Sep/16 Mailing List, Third Party Advisory
    Added CWE NIST CWE-835
    Added CPE Configuration OR *cpe:2.3:a:rencode_project:rencode:*:*:*:*:*:python:*:* versions up to (including) 1.0.6
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

13.84 }} -20.75%

score

0.93693

percentile