PatchaPalooza

CVE-2022-31571: The akashtalole/python-flask-restful-api repository through 2019-09-16 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.

CVE-2022-31571 is a vulnerability in The akashtalole/python-flask-restful-api repository through 2019-09-16 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely., rated Critical by Microsoft, with a CVSS 3.1 base score of 9.3 (Critical). An attacker can exploit it remotely over the network, without any privileges and without user interaction. Microsoft has not reported exploitation in the wild. The EPSS model estimates a 1.33% probability of exploitation activity in the next 30 days, higher than 71% of all scored vulnerabilities. Microsoft released the fix on 13 November 2026, outside Patch Tuesday. It affects 1 product in 1 product family (Open Source Software).

Key facts

CVE ID
CVE-2022-31571
Severity
Critical CVSS 9.3
Microsoft severity
Critical
Exploited in the wild
No
Publicly disclosed
No
Weakness
CWE-22
EPSS
1.33% (percentile 71%)
CISA KEV
Not listed
Released
Last updated
Patch Tuesday
July 2022 Patch Tuesday
Product families
Open Source Software

CVSS score and vector

Microsoft scores CVE-2022-31571 at 9.3 (temporal 9.3) using CVSS 3.1. Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L

MetricValue
Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeChanged
Confidentiality impactHigh
Integrity impactNone
Availability impactLow

Affected products (1)

Open Source Software

ProductSecurity updateTypeFixed buildRestart
azl4 python-flask 1:3.1.2-6.azl4 on Azure Linux 4.0Release NotesSecurity Update

NIST NVD data

NVD status
Modified
NVD CVSS
9.3 (CRITICAL)
NVD weakness
CWE-22
Published to NVD
NVD last modified

Affected configurations (CPE)

ProductVulnerable versions
python-flask-restful-apiup to and including 2019-09-16

References

Revision history

VersionDateDescription
1.0Information published.

Sources