Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWY4NjUtbTZjcS1qOXZ4
ReDOS in Mpmath
A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in Mpmath v1.0.0 when the mpmathify function is called.
Permalink: https://github.com/advisories/GHSA-f865-m6cq-j9vxJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWY4NjUtbTZjcS1qOXZ4
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 2 years ago
Updated: 11 months ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Identifiers: GHSA-f865-m6cq-j9vx, CVE-2021-29063
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-29063
- https://github.com/npm/hosted-git-info/pull/76
- https://github.com/fredrik-johansson/mpmath/commit/c811b37c65a4372a7ce613111d2a508c204f9833
- 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
- https://lists.fedoraproject.org/archives/list/[email protected]/message/3M5O55E7VUDMXCPQR6MQTOIFDKHP36AA/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/MS2U6GLXQSRZJE2HVUAUMVFR2DWQLCZG/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/EIUX3XWY2K3MSO7QXMZXQQYAURARSPC5/
- https://github.com/fredrik-johansson/mpmath/issues/548
- https://github.com/fredrik-johansson/mpmath/commit/46d44c3c8f3244017fe1eb102d564eb4ab8ef750
- https://github.com/mpmath/mpmath/pull/570
- https://github.com/mpmath/mpmath/commit/c811b37c65a4372a7ce613111d2a508c204f9833
- https://github.com/mpmath/mpmath/releases/tag/1.3.0
- https://github.com/pypa/advisory-database/tree/main/vulns/mpmath/PYSEC-2021-427.yaml
- https://github.com/advisories/GHSA-f865-m6cq-j9vx
Blast Radius: 30.9
Affected Packages
pypi:mpmath
Dependent packages: 198Dependent repositories: 13,204
Downloads: 27,264,903 last month
Affected Version Ranges: < 1.3.0
Fixed in: 1.3.0
All affected versions: 1.0.0, 1.1.0, 1.2.1
All unaffected versions: 1.3.0