VDB
CVE-2021-29063
CVE-2021-29063
PUBLISHED
CVSS 7.5 HIGH
ReDOS in Mpmath
Reported by mitre · Published June 21, 2021
mpmath is fixed in 46d44c3c8f3244017fe1eb102d564eb4ab8ef750 and 1.3.0 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| mpmath | PyPI | 46d44c3c8f3244017fe1eb102d564eb4ab8ef750, 1.3.0 |
| py3-mpmath | Chainguard | 1.4.0-r1 |
| mpmath | Ubuntu:Pro:18.04:LTS | 1.0.0-1ubuntu0.1~esm1 |
| mpmath | mpmath | 1.2.1 |
Risk scores
CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | mpmath | 0 |
| chainguard | py3-mpmath | 0 |
| arch | python-mpmath | * |
| n/a | n/a | * |
| wolfi | py3-mpmath | 0 |
Timeline
- Jun 21, 2021 CVE Published
- Jun 22, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 7, 2026 Distribution Patch
- Mar 7, 2026 Security Advisory (2 in total, the first dated here)
- Aug 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-29063
vulnetix vdb fixes CVE-2021-29063
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-29063/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2021-fc30c0de34 vendor-advisory
- FEDORA-2021-244a18163c vendor-advisory
- FEDORA-2021-bc2153d8f0 vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2021-29063 advisory
- https://github.com/advisories/GHSA-f865-m6cq-j9vx advisory
- https://github.com/fredrik-johansson/mpmath/issues/548 url
- https://github.com/mpmath/mpmath/pull/570 patch
- https://github.com/fredrik-johansson/mpmath/commit/c811b37c65a4372a7ce613111d2a508c204f9833 patch
- https://github.com/mpmath/mpmath/commit/c811b37c65a4372a7ce613111d2a508c204f9833 patch
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MS2U6GLXQSRZJE2HVUAUMVFR2DWQLCZG url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EIUX3XWY2K3MSO7QXMZXQQYAURARSPC5 url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3M5O55E7VUDMXCPQR6MQTOIFDKHP36AA url
- https://github.com/pypa/advisory-database/tree/main/vulns/mpmath/PYSEC-2021-427.yaml advisory
- https://github.com/fredrik-johansson/mpmath url