CVE-2021-32838
Regular Expression Denial of Service in flask-restx
7.5
HIGH
CVSS 3.1
EPSS 1.4%
Description
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.
How to fix CVE-2021-32838
To remediate CVE-2021-32838, upgrade the affected package to a fixed version below.
- PyPI/flask-restx—upgrade to 0.5.1 or later
- —upgrade to bab31e085f355dd73858fd3715f7ed71849656da or later
Is CVE-2021-32838 being exploited?
Low — EPSS is 1.4%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 0.5.1
- from 0, < bab31e085f355dd73858fd3715f7ed71849656da | from 0, < 0.5.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |