Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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
ProductAffected versionsFixed 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