{"api_version":"1","generated_at":"2026-07-23T12:51:19+00:00","cve":"CVE-2021-29063","urls":{"html":"https://cve.report/CVE-2021-29063","api":"https://cve.report/api/cve/CVE-2021-29063.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-29063","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-29063"},"summary":{"title":"CVE-2021-29063","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-06-21 20:15:00","updated_at":"2023-11-07 03:32:00"},"problem_types":["CWE-770"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MS2U6GLXQSRZJE2HVUAUMVFR2DWQLCZG/","name":"FEDORA-2021-244a18163c","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: python-mpmath-1.2.1-2.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MS2U6GLXQSRZJE2HVUAUMVFR2DWQLCZG/","name":"FEDORA-2021-244a18163c","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: python-mpmath-1.2.1-2.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.npmjs.com/package/hosted-git-info","name":"https://www.npmjs.com/package/hosted-git-info","refsource":"MISC","tags":[],"title":"hosted-git-info  -  npm","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EIUX3XWY2K3MSO7QXMZXQQYAURARSPC5/","name":"FEDORA-2021-bc2153d8f0","refsource":"","tags":[],"title":"[SECURITY] Fedora 35 Update: python-mpmath-1.2.1-2.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EIUX3XWY2K3MSO7QXMZXQQYAURARSPC5/","name":"FEDORA-2021-bc2153d8f0","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 35 Update: python-mpmath-1.2.1-2.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/yetingli/PoCs/blob/main/CVE-2021-29063/Mpmath.md","name":"https://github.com/yetingli/PoCs/blob/main/CVE-2021-29063/Mpmath.md","refsource":"MISC","tags":[],"title":"PoCs/Mpmath.md at main · yetingli/PoCs · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3M5O55E7VUDMXCPQR6MQTOIFDKHP36AA/","name":"FEDORA-2021-fc30c0de34","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: python-mpmath-1.1.0-13.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/fredrik-johansson/mpmath/commit/46d44c3c8f3244017fe1eb102d564eb4ab8ef750","name":"https://github.com/fredrik-johansson/mpmath/commit/46d44c3c8f3244017fe1eb102d564eb4ab8ef750","refsource":"MISC","tags":[],"title":"Merge pull request #570 from vks/fix-redos · fredrik-johansson/mpmath@46d44c3 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3M5O55E7VUDMXCPQR6MQTOIFDKHP36AA/","name":"FEDORA-2021-fc30c0de34","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: python-mpmath-1.1.0-13.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/yetingli/SaveResults/blob/main/js/hosted-git-info.js","name":"https://github.com/yetingli/SaveResults/blob/main/js/hosted-git-info.js","refsource":"MISC","tags":[],"title":"SaveResults/hosted-git-info.js at main · yetingli/SaveResults · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/npm/hosted-git-info/pull/76","name":"https://github.com/npm/hosted-git-info/pull/76","refsource":"MISC","tags":[],"title":"simplify the regular expression for shortcut matching by nlf · Pull Request #76 · npm/hosted-git-info · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/mpmath/mpmath/releases/tag/1.3.0","name":"https://github.com/mpmath/mpmath/releases/tag/1.3.0","refsource":"CONFIRM","tags":[],"title":"Release 1.3.0 · mpmath/mpmath · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-29063","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29063","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"29063","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"29063","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"29063","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"29063","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mpmath","cpe5":"mpmath","cpe6":"1.0.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"29063","vulnerable":"1","versionEndIncluding":"1.2.1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mpmath","cpe5":"mpmath","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-29063","qid":"184138","title":"Debian Security Update for mpmath (CVE-2021-29063)"},{"cve":"CVE-2021-29063","qid":"281963","title":"Fedora Security Update for python (FEDORA-2021-fc30c0de34)"},{"cve":"CVE-2021-29063","qid":"281964","title":"Fedora Security Update for python (FEDORA-2021-244a18163c)"},{"cve":"CVE-2021-29063","qid":"980091","title":"Python (pip) Security Update for mpmath (GHSA-f865-m6cq-j9vx)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-29063","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/yetingli/SaveResults/blob/main/js/hosted-git-info.js","refsource":"MISC","name":"https://github.com/yetingli/SaveResults/blob/main/js/hosted-git-info.js"},{"url":"https://github.com/npm/hosted-git-info/pull/76","refsource":"MISC","name":"https://github.com/npm/hosted-git-info/pull/76"},{"url":"https://www.npmjs.com/package/hosted-git-info","refsource":"MISC","name":"https://www.npmjs.com/package/hosted-git-info"},{"refsource":"MISC","name":"https://github.com/yetingli/PoCs/blob/main/CVE-2021-29063/Mpmath.md","url":"https://github.com/yetingli/PoCs/blob/main/CVE-2021-29063/Mpmath.md"},{"refsource":"FEDORA","name":"FEDORA-2021-fc30c0de34","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3M5O55E7VUDMXCPQR6MQTOIFDKHP36AA/"},{"refsource":"FEDORA","name":"FEDORA-2021-244a18163c","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MS2U6GLXQSRZJE2HVUAUMVFR2DWQLCZG/"},{"refsource":"FEDORA","name":"FEDORA-2021-bc2153d8f0","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EIUX3XWY2K3MSO7QXMZXQQYAURARSPC5/"},{"refsource":"MISC","name":"https://github.com/fredrik-johansson/mpmath/commit/46d44c3c8f3244017fe1eb102d564eb4ab8ef750","url":"https://github.com/fredrik-johansson/mpmath/commit/46d44c3c8f3244017fe1eb102d564eb4ab8ef750"},{"refsource":"CONFIRM","name":"https://github.com/mpmath/mpmath/releases/tag/1.3.0","url":"https://github.com/mpmath/mpmath/releases/tag/1.3.0"}]}},"nvd":{"publishedDate":"2021-06-21 20:15:00","lastModifiedDate":"2023-11-07 03:32:00","problem_types":["CWE-770"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":5},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:mpmath:mpmath:*:*:*:*:*:*:*:*","versionStartIncluding":"1.0.0","versionEndIncluding":"1.2.1","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"29063","Ordinal":"204249","Title":"CVE-2021-29063","CVE":"CVE-2021-29063","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"29063","Ordinal":"1","NoteData":"A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in Mpmath v1.0.0 when the mpmathify function is called.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"29063","Ordinal":"2","NoteData":"2021-06-21","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"29063","Ordinal":"3","NoteData":"2021-10-29","Type":"Other","Title":"Modified"}]}}}