PT-2022-20786 · Pallets · Flask
Ghost
·
Published
2022-07-11
·
Updated
2022-07-15
·
CVE-2022-31516
CVSS v3.1
9.3
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L |
Name of the Vulnerable Software and Affected Versions
Harveyzyh/Python repository versions prior to 2022-05-04
Description
The issue allows absolute path traversal due to the unsafe use of the Flask
send file function.Recommendations
For versions prior to 2022-05-04, consider updating to a version where the Flask
send file function is used safely, or as a temporary workaround, restrict the use of the send file function to minimize the risk of path traversal exploitation.Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Flask