Bug 2004108 (CVE-2021-40839)

Summary: CVE-2021-40839 python-rencode: an infinite loop in typecode decoding allowing a remote DoS
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jonathan.underwood, orion
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-14 18:21:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2004109, 2004110    
Bug Blocks:    

Description Marian Rehak 2021-09-14 14:00:27 UTC
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.

External Reference:

https://seclists.org/fulldisclosure/2021/Sep/16

Comment 1 Marian Rehak 2021-09-14 14:00:46 UTC
Created python-rencode tracking bugs for this issue:

Affects: epel-all [bug 2004110]
Affects: fedora-all [bug 2004109]

Comment 2 Product Security DevOps Team 2021-09-14 18:21:41 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.