Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. flaskcode
  4. ›
  5. CVE-2023-52288

CVE-2023-52288: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

January 13, 2024 (updated January 24, 2024)

An issue was discovered in the flaskcode package through 0.0.8 for Python. An unauthenticated directory traversal, exploitable with a GET request to a /resource-data/<file_path>.txt URI (from views.py), allows attackers to read arbitrary files.

References

  • gitlab.com/daniele_m/cve-list/-/blob/main/README.md
  • nvd.nist.gov/vuln/detail/CVE-2023-52288

Code Behaviors & Features

Detect and mitigate CVE-2023-52288 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.0.8

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

pypi/flaskcode/CVE-2023-52288.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:02 +0000.