PT-2022-20792 · Niyaz Mohamed · Mosaic

Ghost

·

Published

2022-07-11

·

Updated

2022-07-15

·

CVE-2022-31521

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 Niyaz-Mohamed/mosaic version 1.0.0 and earlier
Description The issue allows absolute path traversal due to the unsafe use of the Flask send file function.
Recommendations For versions 1.0.0 and earlier, consider restricting access to the send file function until a patch is available. As a temporary workaround, avoid using the send file function with untrusted input to minimize the risk of exploitation.

Exploit

Fix

Path traversal

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

Weakness Enumeration

Related Identifiers

CVE-2022-31521

Affected Products

Mosaic