CVE-2022-31549

The olmax99/helm-flask-celery repository before 2022-05-25 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely

published July 11, 2022

CVSS
—
EPSS
2%
Percentile
74.2
In the wild
Unconfirmed
What it is

⚠️ Watch out! An unsafe use of the Flask `send_file` function could allow an attacker to traverse the file system. This means they could peek into files they shouldn't be able to access! 🔍 Think of it like a restaurant kitchen where a delivery person is allowed to wander freely — if nobody’s watching, they might snag a peek into the chef's secret recipes! If exploited, an attacker could access sensitive files on the server, which could lead to the leakage of confidential data or even the ability to execute malicious actions. This could be particularly damaging if sensitive configuration files or personal data are exposed.

Put simply

Think of it like a restaurant kitchen where a delivery person is allowed to wander freely — if nobody’s watching, they might snag a peek into the chef's secret recipes! This vulnerability arises from improper handling of file paths in the olmax99/helm-flask-celery repository, allowing absolute path traversal due to unsafe usage of the Flask `send_file` function prior to version 2022-05-25.

What to do

If exploited, an attacker could access sensitive files on the server, which could lead to the leakage of confidential data or even the ability to execute malicious actions. This could be particularly damaging if sensitive configuration files or personal data are exposed. To remediate this, ensure you update your repository to version 2022-05-25 or later. Additionally, review and sanitize file paths before using them in the `send_file` function to prevent unauthorized access to files. You've got this! By taking these steps, you can secure your application and keep your data safe. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01506 · 74.2th percentile
Published
2022-07-11T00:58Z
EPSS history
Timeline
  • 11 JUL 00:58Z
    The olmax99/helm-flask-celery repository before 2022-05-25 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely
    cvelistv5