{"id":"CVE-2021-32838","published":"2021-09-20T17:30:13Z","modified":"2024-08-03T23:33:55Z","title":"Regular Expression Denial of Service in flask-restx","vendor":"python-restx","product":"flask-restx","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01864,"percentile":0.79792,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/advisories/GHSA-3q6g-vf58-7m4g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/python-restx/flask-restx/issues/372","tags":["x_refsource_MISC"]},{"url":"https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da","tags":["x_refsource_MISC"]},{"url":"https://github.com/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_restx/inputs.py#L51","tags":["x_refsource_MISC"]},{"url":"https://pypi.org/project/flask-restx/","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5UCTFVDU3677B5OBGK4EF5NMUPJLL6SQ/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QUD6SWZLX52AAZUHDETJ2CDMQGEPGFL3/","tags":["vendor-advisory","x_refsource_FEDORA"]}],"priority":{"score":21.2,"factors":[{"name":"EPSS percentile","points":15.96},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"python-restx","affectedVersions":[{"vendor":"python-restx","product":"flask-restx","versions":["< 0.5.1"]}],"affected":[{"ecosystem":"PyPI","package":"flask-restx","vulnerableRanges":["<0.5.1"],"patched":["0.5.1"],"from":["GHSA-3q6g-vf58-7m4g","PYSEC-2021-325"],"provenance":"source"}],"summary":{"text":"The flaw is a Regular Expression Denial of Service (ReDoS) vulnerability in the email_regex component of flask-restx, the community-driven fork of Flask-RESTPlus distributed as the pypi package flask-restx. An attacker with network access can send crafted input that makes the email validation regex consume excessive resources, causing availability impact, and no authentication or user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:09:40Z"},"euvd":{"id":"EUVD-2021-0085","exploited":false,"provenance":"source"}}