{"api_version":"1","generated_at":"2026-07-24T02:24:42+00:00","cve":"CVE-2021-32838","urls":{"html":"https://cve.report/CVE-2021-32838","api":"https://cve.report/api/cve/CVE-2021-32838.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32838","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32838"},"summary":{"title":"CVE-2021-32838","description":"Flask-RESTX (pypi package flask-restx) is a community driven fork of Flask-RESTPlus. Flask-RESTX before version 0.5.1 is vulnerable to ReDoS (Regular Expression Denial of Service) in email_regex. This is fixed in version 0.5.1.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-09-20 18:15:00","updated_at":"2023-11-07 03:35:00"},"problem_types":["CWE-400"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QUD6SWZLX52AAZUHDETJ2CDMQGEPGFL3/","name":"FEDORA-2021-67b7695f95","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: python-flask-restx-0.2.0-4.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da","name":"https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da","refsource":"MISC","tags":[],"title":"optimize email regex (credits: @kevinbackhouse, fix: #372) · python-restx/flask-restx@bab31e0 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5UCTFVDU3677B5OBGK4EF5NMUPJLL6SQ/","name":"FEDORA-2021-0739f45529","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: python-flask-restx-0.3.0-2.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_restx/inputs.py#L51","name":"https://github.com/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_restx/inputs.py#L51","refsource":"MISC","tags":[],"title":"flask-restx/inputs.py at fd99fe11a88531f5f3441a278f7020589f9d2cc0 · python-restx/flask-restx · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/advisories/GHSA-3q6g-vf58-7m4g","name":"https://github.com/advisories/GHSA-3q6g-vf58-7m4g","refsource":"CONFIRM","tags":[],"title":"Regular Expression Denial of Service in flask-restx · CVE-2021-32838 · GitHub Advisory Database · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5UCTFVDU3677B5OBGK4EF5NMUPJLL6SQ/","name":"FEDORA-2021-0739f45529","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: python-flask-restx-0.3.0-2.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/python-restx/flask-restx/issues/372","name":"https://github.com/python-restx/flask-restx/issues/372","refsource":"MISC","tags":[],"title":"GHSL-2021-123 · Issue #372 · python-restx/flask-restx · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QUD6SWZLX52AAZUHDETJ2CDMQGEPGFL3/","name":"FEDORA-2021-67b7695f95","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: python-flask-restx-0.2.0-4.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://pypi.org/project/flask-restx/","name":"https://pypi.org/project/flask-restx/","refsource":"MISC","tags":[],"title":"flask-restx · PyPI","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-32838","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32838","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"32838","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":"32838","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":"32838","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"flask-restx_project","cpe5":"flask-restx","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"python","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-32838","qid":"281942","title":"Fedora Security Update for python (FEDORA-2021-67b7695f95)"},{"cve":"CVE-2021-32838","qid":"281943","title":"Fedora Security Update for python (FEDORA-2021-0739f45529)"},{"cve":"CVE-2021-32838","qid":"980623","title":"Python (pip) Security Update for flask-restx (GHSA-3q6g-vf58-7m4g)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-32838","STATE":"PUBLIC","TITLE":"Regular Expression Denial of Service in flask-restx"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"flask-restx","version":{"version_data":[{"version_value":"< 0.5.1"}]}}]},"vendor_name":"python-restx"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Flask-RESTX (pypi package flask-restx) is a community driven fork of Flask-RESTPlus. Flask-RESTX before version 0.5.1 is vulnerable to ReDoS (Regular Expression Denial of Service) in email_regex. This is fixed in version 0.5.1."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-400 Uncontrolled Resource Consumption"}]}]},"references":{"reference_data":[{"name":"https://github.com/advisories/GHSA-3q6g-vf58-7m4g","refsource":"CONFIRM","url":"https://github.com/advisories/GHSA-3q6g-vf58-7m4g"},{"name":"https://github.com/python-restx/flask-restx/issues/372","refsource":"MISC","url":"https://github.com/python-restx/flask-restx/issues/372"},{"name":"https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da","refsource":"MISC","url":"https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da"},{"name":"https://github.com/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_restx/inputs.py#L51","refsource":"MISC","url":"https://github.com/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_restx/inputs.py#L51"},{"name":"https://pypi.org/project/flask-restx/","refsource":"MISC","url":"https://pypi.org/project/flask-restx/"},{"refsource":"FEDORA","name":"FEDORA-2021-0739f45529","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5UCTFVDU3677B5OBGK4EF5NMUPJLL6SQ/"},{"refsource":"FEDORA","name":"FEDORA-2021-67b7695f95","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QUD6SWZLX52AAZUHDETJ2CDMQGEPGFL3/"}]},"source":{"advisory":"GHSA-3q6g-vf58-7m4g","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-09-20 18:15:00","lastModifiedDate":"2023-11-07 03:35:00","problem_types":["CWE-400"],"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:flask-restx_project:flask-restx:*:*:*:*:*:python:*:*","versionEndExcluding":"0.5.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":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"32838","Ordinal":"208226","Title":"CVE-2021-32838","CVE":"CVE-2021-32838","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"32838","Ordinal":"1","NoteData":"Flask-RESTX (pypi package flask-restx) is a community driven fork of Flask-RESTPlus. Flask-RESTX before version 0.5.1 is vulnerable to ReDoS (Regular Expression Denial of Service) in email_regex. This is fixed in version 0.5.1.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"32838","Ordinal":"2","NoteData":"2021-09-20","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"32838","Ordinal":"3","NoteData":"2021-09-29","Type":"Other","Title":"Modified"}]}}}