Vulnerability · Published Jun 21, 2021 · Assigned by mitre
CVE-2021-29063
High 7.5
In plain English
A high-severity security flaw in the mpmath package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.2% (higher than 91% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)4.2%top 9.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in Mpmath v1.0.0 through v1.2.1 when the mpmathify function is called.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | mpmath | 1.2.1-2 | DEBIAN-CVE-2021-29063 |
| Debian:13 | mpmath | 1.2.1-2 | DEBIAN-CVE-2021-29063 |
| Debian:14 | mpmath | 1.2.1-2 | DEBIAN-CVE-2021-29063 |
| PyPI | mpmath | 1.3.0 | GHSA-f865-m6cq-j9vx |
| PyPI | mpmath | 1.3.0 | PYSEC-2021-427 |
Affected products (as reported)
References
- https://github.com/yetingli/SaveResults/blob/main/js/hosted-git-info.js
- https://github.com/npm/hosted-git-info/pull/76
- https://www.npmjs.com/package/hosted-git-info
- https://github.com/yetingli/PoCs/blob/main/CVE-2021-29063/Mpmath.md
- FEDORA-2021-fc30c0de34 vendor-advisory
- FEDORA-2021-244a18163c vendor-advisory
- FEDORA-2021-bc2153d8f0 vendor-advisory
- https://github.com/fredrik-johansson/mpmath/commit/46d44c3c8f3244017fe1eb102d564eb4ab8ef750
- https://github.com/mpmath/mpmath/releases/tag/1.3.0