{"id":"CVE-2021-29063","published":"2021-06-21T00:00:00Z","modified":"2024-08-03T21:55:12Z","title":"A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in Mpmath v1.0.0 through v1.2.1 when the…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04179,"percentile":0.91149,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/yetingli/SaveResults/blob/main/js/hosted-git-info.js","tags":[]},{"url":"https://github.com/npm/hosted-git-info/pull/76","tags":[]},{"url":"https://www.npmjs.com/package/hosted-git-info","tags":[]},{"url":"https://github.com/yetingli/PoCs/blob/main/CVE-2021-29063/Mpmath.md","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3M5O55E7VUDMXCPQR6MQTOIFDKHP36AA/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MS2U6GLXQSRZJE2HVUAUMVFR2DWQLCZG/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EIUX3XWY2K3MSO7QXMZXQQYAURARSPC5/","tags":["vendor-advisory"]},{"url":"https://github.com/fredrik-johansson/mpmath/commit/46d44c3c8f3244017fe1eb102d564eb4ab8ef750","tags":[]},{"url":"https://github.com/mpmath/mpmath/releases/tag/1.3.0","tags":[]}],"priority":{"score":23.2,"factors":[{"name":"EPSS percentile","points":18.23},{"name":"Public exploit code","points":5.0}]},"affected":[{"ecosystem":"PyPI","package":"mpmath","vulnerableRanges":["<1.3.0"],"patched":["1.3.0"],"from":["GHSA-f865-m6cq-j9vx","PYSEC-2021-427"],"provenance":"source"}],"summary":{"text":"A regular expression denial of service (ReDoS) flaw exists in the mpmath library, affecting versions 1.0.0 through 1.2.1, and is triggered in its mpmathify function. An attacker who can get attacker-controlled input passed to mpmathify can cause excessive processing time through the vulnerable regex.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:11:16Z"},"euvd":{"id":"EUVD-2021-0137","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/yetingli/PoCs/blob/main/CVE-2021-29063/Mpmath.md"]}