GitHub Advisoryadvisory · PyPI
GHSA-3q6g-vf58-7m4g Regular Expression Denial of Service in flask-restx
HIGH
Official page ↗
- Aliases
- CVE-2021-32838
- Ecosystem
- PyPI
- Packages
- flask-restx
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1333, CWE-400
- Reviewed
- 2021-09-07
Affected packages
• PyPI flask-restx: < 0.5.1 → fixed in 0.5.1
Description
Flask RESTX contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service) in `email_regex`.
Related
Alias · CVE (1)
- CVE-2021-32838 Flask-RESTX (pypi package flask-restx) is a community driven fork of Flask-RESTPlus. vulnerability
References
- https://github.com/python-restx/flask-restx/security/advisories/GHSA-3q6g-vf58-7m4g web
- https://nvd.nist.gov/vuln/detail/CVE-2021-32838 advisory
- https://github.com/python-restx/flask-restx/issues/372 web
- https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da web
- https://github.com/advisories/GHSA-3q6g-vf58-7m4g advisory
- https://github.com/pypa/advisory-database/tree/main/vulns/flask-restx/PYSEC-2021-325.yaml web
- https://github.com/python-restx/flask-restx package
- https://github.com/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_restx/inputs.py#L51 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/5UCTFVDU3677B5OBGK4EF5NMUPJLL6SQ web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/QUD6SWZLX52AAZUHDETJ2CDMQGEPGFL3 web
- https://pypi.org/project/flask-restx web