Bug 1974834 (CVE-2021-29063)

Summary: CVE-2021-29063 python-mpmath: Regular expression denial of service in the mpmathify function
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jjoyce, jschluet, lhh, lpeer, mburns, sclewis, slinaber, susi.lehtola, zbyszek
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-10-28 05:30:05 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: 1974835, 1974836    
Bug Blocks:    

Description Pedro Sampaio 2021-06-22 16:01:46 UTC
A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in Mpmath v1.0.0 when the mpmathify function is called.

https://github.com/npm/hosted-git-info/pull/76
https://github.com/yetingli/PoCs/blob/main/CVE-2021-29063/Mpmath.md
https://github.com/yetingli/SaveResults/blob/main/js/hosted-git-info.js
https://www.npmjs.com/package/hosted-git-info

Comment 1 Pedro Sampaio 2021-06-22 16:03:54 UTC
Created python-mpmath tracking bugs for this issue:

Affects: epel-7 [bug 1974836]
Affects: fedora-all [bug 1974835]