{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-29063","id":"CVE-2021-29063","title":"ReDOS in Mpmath","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.","descriptionLong":"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.","published":"2021-06-21T00:00:00.000Z","updated":"2026-10-20T10:54:38.719328232Z","reserved":"2021-03-22T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"mpmath","purl":"pkg:pypi/mpmath","ranges":["<1.3.0"],"fixed":["1.3.0"],"advisory":"GHSA-f865-m6cq-j9vx"}],"cwes":["CWE-770"],"aliases":["GHSA-f865-m6cq-j9vx","PYSEC-2021-427"],"references":[{"url":"https://github.com/yetingli/SaveResults/blob/main/js/hosted-git-info.js","tags":["x_transferred","Not Applicable","Third Party Advisory","advisory","web"]},{"url":"https://github.com/npm/hosted-git-info/pull/76","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.npmjs.com/package/hosted-git-info","tags":["x_transferred","Product","web"]},{"url":"https://github.com/yetingli/PoCs/blob/main/CVE-2021-29063/Mpmath.md","tags":["x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3M5O55E7VUDMXCPQR6MQTOIFDKHP36AA/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MS2U6GLXQSRZJE2HVUAUMVFR2DWQLCZG/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EIUX3XWY2K3MSO7QXMZXQQYAURARSPC5/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://github.com/fredrik-johansson/mpmath/commit/46d44c3c8f3244017fe1eb102d564eb4ab8ef750","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/mpmath/mpmath/releases/tag/1.3.0","tags":["x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29063","tags":["advisory"]},{"url":"https://github.com/fredrik-johansson/mpmath/issues/548","tags":["web"]},{"url":"https://github.com/mpmath/mpmath/pull/570","tags":["web"]},{"url":"https://github.com/fredrik-johansson/mpmath/commit/c811b37c65a4372a7ce613111d2a508c204f9833","tags":["web"]},{"url":"https://github.com/mpmath/mpmath/commit/c811b37c65a4372a7ce613111d2a508c204f9833","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MS2U6GLXQSRZJE2HVUAUMVFR2DWQLCZG","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EIUX3XWY2K3MSO7QXMZXQQYAURARSPC5","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3M5O55E7VUDMXCPQR6MQTOIFDKHP36AA","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mpmath/PYSEC-2021-427.yaml","tags":["web"]},{"url":"https://github.com/fredrik-johansson/mpmath","tags":["package"]},{"url":"https://github.com/advisories/GHSA-f865-m6cq-j9vx","tags":["advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3M5O55E7VUDMXCPQR6MQTOIFDKHP36AA/","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MS2U6GLXQSRZJE2HVUAUMVFR2DWQLCZG/","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.04179,"epssPercentile":0.91122,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-29063","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29063","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-29063","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-f865-m6cq-j9vx","ok":true,"note":"GHSA-f865-m6cq-j9vx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-29063","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}