Vulnerability
CVE-2021-29063
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.
14 advisories report this vulnerability, across 6 ecosystems.
Advisories
- CGA-35w2-2xvp-mrh5
- CGA-4xff-f4pg-3ff7
- CGA-6p7j-wjhj-p8g8
- CGA-734r-jvcc-ff9j
- CGA-73rg-gm8q-jgc8
- CGA-ggjm-wqhq-wrx8
- CGA-jxw7-pwmw-mwj3
- CGA-pqxq-58wf-7wvx
-
DEBIAN-CVE-2021-29063
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.
-
GHSA-f865-m6cq-j9vx
ReDOS in Mpmath
-
PYSEC-2021-427
A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in Mpmath v1.0.0 when the mpmathify function is called.
-
UBUNTU-CVE-2021-29063
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.
-
USN-7160-1
mpmath vulnerability
-
openSUSE-SU-2026:12018-1
python313-mpmath-1.3.0-3.4 on GA media
References
- https://github.com/fredrik-johansson/mpmath/commit/46d44c3c8f3244017fe1eb102d564eb4ab8ef750
- https://github.com/mpmath/mpmath/releases/tag/1.3.0
- https://github.com/npm/hosted-git-info/pull/76
- 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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3M5O55E7VUDMXCPQR6MQTOIFDKHP36AA/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EIUX3XWY2K3MSO7QXMZXQQYAURARSPC5/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MS2U6GLXQSRZJE2HVUAUMVFR2DWQLCZG/
- https://www.npmjs.com/package/hosted-git-info