{"id":"CVE-2021-32838","aliases":["GHSA-3q6g-vf58-7m4g","PYSEC-2021-325"],"url":"https://o3.security/vulnerability/CVE-2021-32838","summary":"Regular Expression Denial of Service in flask-restx","details":"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.","published":"2021-09-20T18:15:11.010Z","modified":"2026-07-08T06:28:51.086814172Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"flask-restx","fixedVersion":"0.5.1"}],"fix":{"url":"https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da","label":"python-restx/flask-restx@bab31e0"},"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5UCTFVDU3677B5OBGK4EF5NMUPJLL6SQ/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QUD6SWZLX52AAZUHDETJ2CDMQGEPGFL3/"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-3q6g-vf58-7m4g"},{"type":"FIX","url":"https://github.com/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_restx/inputs.py#L51"},{"type":"FIX","url":"https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da"},{"type":"FIX","url":"https://github.com/python-restx/flask-restx/issues/372"},{"type":"PACKAGE","url":"https://pypi.org/project/flask-restx/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T06:28:51.086814172Z"}}