{"id":"GHSA-f865-m6cq-j9vx","summary":"ReDOS in Mpmath","details":"A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in Mpmath v1.0.0 when the mpmathify function is called.","aliases":["CVE-2021-29063","PYSEC-2021-427"],"modified":"2026-09-10T03:49:07.864685752Z","published":"2021-08-09T20:44:51Z","database_specific":{"cwe_ids":["CWE-770"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-06-22T16:00:52Z","nvd_published_at":"2021-06-21T20:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29063"},{"type":"WEB","url":"https://github.com/fredrik-johansson/mpmath/issues/548"},{"type":"WEB","url":"https://github.com/mpmath/mpmath/pull/570"},{"type":"WEB","url":"https://github.com/npm/hosted-git-info/pull/76"},{"type":"WEB","url":"https://github.com/fredrik-johansson/mpmath/commit/46d44c3c8f3244017fe1eb102d564eb4ab8ef750"},{"type":"WEB","url":"https://github.com/fredrik-johansson/mpmath/commit/c811b37c65a4372a7ce613111d2a508c204f9833"},{"type":"WEB","url":"https://github.com/mpmath/mpmath/commit/c811b37c65a4372a7ce613111d2a508c204f9833"},{"type":"WEB","url":"https://www.npmjs.com/package/hosted-git-info"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MS2U6GLXQSRZJE2HVUAUMVFR2DWQLCZG"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EIUX3XWY2K3MSO7QXMZXQQYAURARSPC5"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3M5O55E7VUDMXCPQR6MQTOIFDKHP36AA"},{"type":"WEB","url":"https://github.com/yetingli/SaveResults/blob/main/js/hosted-git-info.js"},{"type":"WEB","url":"https://github.com/yetingli/PoCs/blob/main/CVE-2021-29063/Mpmath.md"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/mpmath/PYSEC-2021-427.yaml"},{"type":"WEB","url":"https://github.com/mpmath/mpmath/releases/tag/1.3.0"},{"type":"PACKAGE","url":"https://github.com/fredrik-johansson/mpmath"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f865-m6cq-j9vx"}],"affected":[{"package":{"name":"mpmath","ecosystem":"PyPI","purl":"pkg:pypi/mpmath"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0"}]}],"versions":["0.1","0.10","0.11","0.12","0.13","0.14","0.15","0.16","0.17","0.18","0.19","0.2","0.3","0.4","0.5","0.6","0.7","0.8","0.9","1.0.0","1.1.0","1.2.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-f865-m6cq-j9vx/GHSA-f865-m6cq-j9vx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"}]}