CVE-2022-31545

The ml-inory/ModelConverter repository through 2021-04-26 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

⚠️ It turns out there's a sneaky flaw in the ml-inory/ModelConverter repository—an absolute path traversal vulnerability that'll make you raise an eyebrow! Think of it as a restaurant with a leaky roof. If you don’t properly manage the delivery truck routes, they'll end up at the wrong addresses, potentially spilling all the ingredients everywhere instead of just at your kitchen! An attacker could exploit this vulnerability to potentially access sensitive files on the server, leading to a data compromise that could harm the integrity of your applications. Imagine a delivery guy could rummage through the pantry without any checks—absolutely devastating!

Put simply

Think of it as a restaurant with a leaky roof. If you don’t properly manage the delivery truck routes, they'll end up at the wrong addresses, potentially spilling all the ingredients everywhere instead of just at your kitchen! The flaw arises from the unsafe usage of the Flask send_file function, which allows attackers to maneuver through the file system and retrieve files outside the intended directory.

What to do

An attacker could exploit this vulnerability to potentially access sensitive files on the server, leading to a data compromise that could harm the integrity of your applications. Imagine a delivery guy could rummage through the pantry without any checks—absolutely devastating! To secure your application, update to the latest version of the ModelConverter repository if available, and ensure that proper validation checks are in place when handling file paths. This will help seal those leaks and keep everything tidy! You've got this! Just follow these steps, and you're well on your way to bolstering your defenses! 🛡️

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