SecurityContext

CVE-2021-32838: Flask-RESTX - Regular Expression Denial of Service

  • Cve: CVE-2021-32838
  • Name: Flask-RESTX - Regular Expression Denial of Service
  • 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.
  • Impact: Attackers can cause denial of service by exploiting the vulnerable regex, potentially disrupting service availability.
  • Remediation: Upgrade to version 0.5.1 or later.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.01864
  • Epss percentile: 0.79698
  • Assignee: [email protected]
  • Published at: 2021-09-20T18:15:11Z
  • Age in days: 1891
  • Modified at: 2026-06-17T03:53:44Z
  • Patch available: yes
  • References total: 7
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-32838
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-400Uncontrolled Resource Consumption

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_restx/inputs.py#L51Patch, Third Party Advisory
https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656daPatch, Third Party Advisory
https://github.com/python-restx/flask-restx/issues/372Issue Tracking, Patch, Third Party Advisory
https://github.com/advisories/GHSA-3q6g-vf58-7m4gThird Party Advisory
https://pypi.org/project/flask-restx/Product, Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5UCTFVDU3677B5OBGK4EF5NMUPJLL6SQ/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QUD6SWZLX52AAZUHDETJ2CDMQGEPGFL3/

Products

ProductAffectedPlatform boundSourcesUrl
flask-restx_project:flask-restx< 0.5.1nonvd/v1/products/flask-restx_project/flask-restx
fedoraproject:fedora= 34, = 33nonvd/v1/products/fedoraproject/fedora

Projects

RepositoryLink kindsIndexedUrl
python-restx/flask-restxcommit, fix, issues, package, security_advisoryyes/v1/repositories/python-restx/flask-restx

Index

  • Repositories: 14
  • Repositories high signal: 10
  • Packages: 1

Exploitation

  • Remote: yes
  • Exposed hosts: 49161
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports