CVE-2022-31567

The DSABenchmark/DSAB repository through 2.1 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

⚠️ A sneaky path traversal vulnerability is lurking in the DSABenchmark/DSAB repo! This vulnerability allows unwitting attackers to access any file on the server with ease. 🔍 Think of it like a delivery driver taking any package without checking the address — if you don’t properly restrict where those files can go, they could end up in the wrong hands! 📦 An attacker could potentially read any sensitive files on the server, putting your data at risk and leading to devastating consequences if they access confidential information. This could be a major embarrassment and a significant security breach for your organization.

Put simply

Think of it like a delivery driver taking any package without checking the address — if you don’t properly restrict where those files can go, they could end up in the wrong hands! 📦 This vulnerability stems from improper usage of the Flask send_file function, allowing absolute path traversal. Essentially, it lets attackers manipulate file paths to bypass directory restrictions and access unauthorized files.

What to do

An attacker could potentially read any sensitive files on the server, putting your data at risk and leading to devastating consequences if they access confidential information. This could be a major embarrassment and a significant security breach for your organization. Make sure to update the DSABenchmark/DSAB library to the latest version that addresses this vulnerability. Implement strict input validation and sanitization on file paths to prevent unauthorized access. Regularly audit your code for other potential vulnerabilities! You've got this! Fixing this vulnerability will help you become a true security hero! 🦸‍♂️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01337 · 71.0th percentile
Published
2022-07-11T01:00Z
EPSS history
Timeline
  • 11 JUL 01:00Z
    The DSABenchmark/DSAB repository through 2.1 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely
    cvelistv5