Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. shiva
  4. ›
  5. CVE-2022-31558

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

July 12, 2022 (updated July 21, 2022)

The tooxie/shiva-server repository through 0.10.0 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.

References

  • github.com/advisories/GHSA-qp72-96p2-g644
  • github.com/github/securitylab/issues/669
  • nvd.nist.gov/vuln/detail/CVE-2022-31558

Code Behaviors & Features

Detect and mitigate CVE-2022-31558 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.10.0

Solution

Unfortunately, there is no solution available yet.

Impact 9.3 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

pypi/shiva/CVE-2022-31558.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:01 +0000.