CVE-2022-31517

The HolgerGraef/MSM repository through 2021-04-20 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 hides in the HolgerGraef/MSM repository like a mischievous raccoon digging through your trash! Think of this vulnerability like a waiter who mistakenly hands out keys to the entire building instead of just your room — anyone could waltz in and grab sensitive files they shouldn't touch. If exploited, an attacker could potentially access files outside the intended directory, leading to unauthorized data exposure. While it's not actively being exploited, the risk remains that sensitive information could be compromised if left unaddressed.

Put simply

Think of this vulnerability like a waiter who mistakenly hands out keys to the entire building instead of just your room — anyone could waltz in and grab sensitive files they shouldn't touch. This vulnerability arises from the unsafe use of the Flask send_file function, permitting absolute path traversal, which allows attackers to manipulate file paths beyond the application’s intended directory structure.

What to do

If exploited, an attacker could potentially access files outside the intended directory, leading to unauthorized data exposure. While it's not actively being exploited, the risk remains that sensitive information could be compromised if left unaddressed. To mitigate this risk, developers should review and update the affected code to ensure proper validation of file paths. Employing relative paths and restricting file access will bolster security. Always keep libraries updated to the latest versions to benefit from patches and security enhancements. You've got this! By taking these steps, you'll turn that raccoon into a well-trained guard dog! 🛡️

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