CVE-2021-32838
Flask-restx Project Flask-restx vulnerability
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.
Affected products
Flask-restx, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Flask-restx Project Flask-restx runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_re · Patch
- github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da · Patch
- github.com/python-restx/flask-restx/issues/372 · Patch
- github.com/advisories/GHSA-3q6g-vf58-7m4g · Third Party Advisory
- pypi.org/project/flask-restx/ · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q
- github.com/python-restx/flask-restx/security/advisories/GHSA-3q6g-vf58-7m4g
- nvd.nist.gov/vuln/detail/CVE-2021-32838
- cve.org/CVERecord?id=CVE-2021-32838
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.