{"id":"GHSA-3q6g-vf58-7m4g","summary":"Regular Expression Denial of Service in flask-restx","details":"Flask RESTX contains a regular expression that is vulnerable to [ReDoS](https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS) (Regular Expression Denial of Service) in `email_regex`.\n","aliases":["CVE-2021-32838","PYSEC-2021-325"],"modified":"2026-07-08T06:28:20.629860342Z","published":"2021-09-08T15:41:15Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-09-07T14:24:52Z","nvd_published_at":"2021-09-20T18:15:00Z","cwe_ids":["CWE-1333","CWE-400"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/python-restx/flask-restx/security/advisories/GHSA-3q6g-vf58-7m4g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32838"},{"type":"WEB","url":"https://github.com/python-restx/flask-restx/issues/372"},{"type":"WEB","url":"https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3q6g-vf58-7m4g"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/flask-restx/PYSEC-2021-325.yaml"},{"type":"PACKAGE","url":"https://github.com/python-restx/flask-restx"},{"type":"WEB","url":"https://github.com/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_restx/inputs.py#L51"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5UCTFVDU3677B5OBGK4EF5NMUPJLL6SQ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QUD6SWZLX52AAZUHDETJ2CDMQGEPGFL3"},{"type":"WEB","url":"https://pypi.org/project/flask-restx"}],"affected":[{"package":{"name":"flask-restx","ecosystem":"PyPI","purl":"pkg:pypi/flask-restx"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.5.1"}]}],"versions":["0.0.1.dev0","0.1.0","0.1.1","0.2.0","0.3.0","0.4.0","0.5.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-3q6g-vf58-7m4g/GHSA-3q6g-vf58-7m4g.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"}]}