PT-2022-20844 · Unknown · Python-Flask-Restful-Api

Ghost

·

Published

2022-07-11

·

Updated

2022-07-15

·

CVE-2022-31571

CVSS v3.1

9.3

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
Name of the Vulnerable Software and Affected Versions akashtalole/python-flask-restful-api repository through 2019-09-16
Description The issue allows absolute path traversal due to the unsafe use of the Flask send file function. This enables potential access to sensitive files outside the intended directory.
Recommendations For the akashtalole/python-flask-restful-api repository through 2019-09-16, consider restricting the use of the send file function until a safer implementation is available. As a temporary workaround, limit file access to only necessary directories to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-31571

Affected Products

Python-Flask-Restful-Api