CVE-2022-31555

The romain20100/nursequest repository through 2018-02-22 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely

published July 11, 2022

CVSS
—
EPSS
1%
Percentile
71.0
In the wild
Unconfirmed
What it is

⚠️ An absolute path traversal vulnerability lurks in the romain20100/nursequest repository! This flaw allows attackers to access any file on the server, leaving your data wide open! Think of it as a restaurant where a server mistakenly hands out keys to the kitchen instead of just menus — they could access any confidential recipe without a second thought! 🍽️ An attacker could exploit this vulnerability to read sensitive files or even access system files, potentially leading to data leaks and confidentiality breaches. The ramifications can be quite significant, especially in a healthcare context where privacy is paramount!

Put simply

Think of it as a restaurant where a server mistakenly hands out keys to the kitchen instead of just menus — they could access any confidential recipe without a second thought! 🍽️ This vulnerability arises from unsafe use of Flask's `send_file` function, which does not properly validate file paths, allowing attackers to navigate to arbitrary directories.

What to do

An attacker could exploit this vulnerability to read sensitive files or even access system files, potentially leading to data leaks and confidentiality breaches. The ramifications can be quite significant, especially in a healthcare context where privacy is paramount! To mitigate this risk, review your implementation of the `send_file` function and ensure you’re validating paths correctly. Consider updating to a more secure version or applying appropriate input sanitization techniques. Don't wait to lock this down! You've got this! Implement these fixes and you'll be a security hero in no time! 🦸‍♂️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01337 · 71.0th percentile
Published
2022-07-11T00:59Z
EPSS history
Timeline
  • 11 JUL 00:59Z
    The romain20100/nursequest repository through 2018-02-22 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely
    cvelistv5