Vulnerability · Published Sep 20, 2021 · Assigned by GitHub_M

CVE-2021-32838Regular Expression Denial of Service in flask-restx

High 7.5

In plain English

A high-severity uncontrolled resource consumption in flask-restx from python-restx. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.9%top 20.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIflask-restx0.5.1GHSA-3q6g-vf58-7m4g
PyPIflask-restx0.5.1PYSEC-2021-325

Affected products (as reported)

VendorProductVersions
python-restx flask-restx < 0.5.1

Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References