CVE-2021-29063 ReDOS in Mpmath
HighCVSS 7.5
EPSS 4.2%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- Technology
- UbuntuDebian
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.
Upgrade path
9 packages: 8 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/mpmath(Debian 12) | < 1.2.1-2 | 1.2.1-2 | Fixed |
| debian/mpmath(Debian 13) | < 1.2.1-2 | 1.2.1-2 | Fixed |
| debian/mpmath(Debian 14) | < 1.2.1-2 | 1.2.1-2 | Fixed |
| mpmath | >= 1.0.0, <= 1.2.1 | after 1.2.1 | Fixed |
| pypi mpmath(PyPI) | < 1.3.0; = 0.1; = 0.2; = 0.3 +19 more | 1.3.0 | Fixed |
| ubuntu/mpmath(Ubuntu Pro 16.04) | < 0.19-3ubuntu0.1~esm1; = 0.19-3 | 0.19-3ubuntu0.1~esm1 | Fixed |
| ubuntu/mpmath(Ubuntu Pro 18.04) | < 1.0.0-1ubuntu0.1~esm1; = 0.19-3; = 1.0.0-1 | 1.0.0-1ubuntu0.1~esm1 | Fixed |
| ubuntu/mpmath(Ubuntu Pro 20.04) | < 1.1.0-2ubuntu0.1~esm1; = 1.1.0-1; = 1.1.0-1build1; = 1.1.0-2 | 1.1.0-2ubuntu0.1~esm1 | Fixed |
| fedoraproject fedora | = 33; = 34; = 35 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi mpmath(PyPI) | < 1.3.0 | 1.3.0 |
| pypi mpmath(PyPI) | = 0.1 | No fix listed |
| pypi mpmath(PyPI) | = 0.10 | No fix listed |
| pypi mpmath(PyPI) | = 0.11 | No fix listed |
| pypi mpmath(PyPI) | = 0.12 | No fix listed |
| pypi mpmath(PyPI) | = 0.13 | No fix listed |
| pypi mpmath(PyPI) | = 0.14 | No fix listed |
| pypi mpmath(PyPI) | = 0.15 | No fix listed |
| pypi mpmath(PyPI) | = 0.16 | No fix listed |
| pypi mpmath(PyPI) | = 0.17 | No fix listed |
| pypi mpmath(PyPI) | = 0.18 | No fix listed |
| pypi mpmath(PyPI) | = 0.19 | No fix listed |
| pypi mpmath(PyPI) | = 0.2 | No fix listed |
| pypi mpmath(PyPI) | = 0.3 | No fix listed |
| pypi mpmath(PyPI) | = 0.4 | No fix listed |
| pypi mpmath(PyPI) | = 0.5 | No fix listed |
| pypi mpmath(PyPI) | = 0.6 | No fix listed |
| pypi mpmath(PyPI) | = 0.7 | No fix listed |
| pypi mpmath(PyPI) | = 0.8 | No fix listed |
| pypi mpmath(PyPI) | = 0.9 | No fix listed |
| pypi mpmath(PyPI) | = 1.0.0 | No fix listed |
| pypi mpmath(PyPI) | = 1.1.0 | No fix listed |
| pypi mpmath(PyPI) | = 1.2.1 | No fix listed |
| debian/mpmath(Debian:12) | < 1.2.1-2 | 1.2.1-2 |
| debian/mpmath(Debian:13) | < 1.2.1-2 | 1.2.1-2 |
Show 14 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/mpmath(Debian:14) | < 1.2.1-2 | 1.2.1-2 |
| mpmath | >= 1.0.0, <= 1.2.1 | No fix listed |
| fedoraproject fedora | = 33 | No fix listed |
| fedoraproject fedora | = 34 | No fix listed |
| fedoraproject fedora | = 35 | No fix listed |
| ubuntu/mpmath(Ubuntu:Pro:16.04) | < 0.19-3ubuntu0.1~esm1 | 0.19-3ubuntu0.1~esm1 |
| ubuntu/mpmath(Ubuntu:Pro:16.04) | = 0.19-3 | No fix listed |
| ubuntu/mpmath(Ubuntu:Pro:18.04) | < 1.0.0-1ubuntu0.1~esm1 | 1.0.0-1ubuntu0.1~esm1 |
| ubuntu/mpmath(Ubuntu:Pro:18.04) | = 0.19-3 | No fix listed |
| ubuntu/mpmath(Ubuntu:Pro:18.04) | = 1.0.0-1 | No fix listed |
| ubuntu/mpmath(Ubuntu:Pro:20.04) | < 1.1.0-2ubuntu0.1~esm1 | 1.1.0-2ubuntu0.1~esm1 |
| ubuntu/mpmath(Ubuntu:Pro:20.04) | = 1.1.0-1 | No fix listed |
| ubuntu/mpmath(Ubuntu:Pro:20.04) | = 1.1.0-1build1 | No fix listed |
| ubuntu/mpmath(Ubuntu:Pro:20.04) | = 1.1.0-2 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com patch
- github.com issue-tracking patch third-party-advisory
- github.com patch third-party-advisory
- github.com patch
- github.com patch
- www.npmjs.com issue-tracking product
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- github.com issue-tracking not-applicable third-party-advisory
- github.com exploit issue-tracking patch third-party-advisory
- github.com
- github.com
- github.com product
- github.com vendor-advisory
- Debian Security Tracker CVE-2021-29063 vendor-advisory
- FEDORA-2021-fc30c0de34 vendor-advisory
- FEDORA-2021-bc2153d8f0 vendor-advisory
- FEDORA-2021-244a18163c vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- www.cve.org issue-tracking
- ubuntu.com vendor-advisory