Vulnerability Name:

CVE-2021-32838 (CCN-209812)

Assigned:2021-09-20
Published:2021-09-20
Updated:2021-09-30
Summary: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.
CVSS v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
7.5 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
6.5 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
7.8 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:N/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Complete
Vulnerability Type:CWE-400
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2021-32838

Source: XF
Type: UNKNOWN
flaskrestx-cve202132838-dos(209812)

Source: CCN
Type: GitHub Web site
Regular Expression Denial of Service in flask-restx

Source: CONFIRM
Type: Third Party Advisory
https://github.com/advisories/GHSA-3q6g-vf58-7m4g

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/python-restx/flask-restx/blob/fd99fe11a88531f5f3441a278f7020589f9d2cc0/flask_restx/inputs.py#L51

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/python-restx/flask-restx/commit/bab31e085f355dd73858fd3715f7ed71849656da

Source: CCN
Type: flask-restx GIT Repository
GHSL-2021-123 #372

Source: MISC
Type: Issue Tracking, Patch, Third Party Advisory
https://github.com/python-restx/flask-restx/issues/372

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-0739f45529

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-67b7695f95

Source: MISC
Type: Product, Third Party Advisory
https://pypi.org/project/flask-restx/

Source: CCN
Type: IBM Security Bulletin 6551876 (Cloud Pak for Security)
Cloud Pak for Security uses packages that are vulnerable to multiple CVEs

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2021-32838

Vulnerable Configuration:Configuration 1:
  • cpe:/a:flask-restx_project:flask-restx:*:*:*:*:*:python:*:* (Version < 0.5.1)

  • Configuration 2:
  • cpe:/o:fedoraproject:fedora:33:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:34:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:flask-restx_project:flask-restx:0.5.0:*:*:*:*:python:*:*
  • AND
  • cpe:/a:ibm:cloud_pak_for_security:1.7.2.0:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:maximo_application_suite:8.7:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    flask-restx_project flask-restx *
    fedoraproject fedora 33
    fedoraproject fedora 34
    flask-restx_project flask-restx 0.5.0
    ibm cloud pak for security 1.7.2.0
    ibm maximo application suite 8.7