ganga-devs/ganga · Security
Ganga allows absolute path traversal
- GHSA ID
- GHSA-7488-6x3r-23w5
- CVE ID
- CVE-2022-31507
- Severity
- critical
- Published
- Updated
- CVSS
- 9.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
- CVSS v3
- 9.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
- CVSS v4
- 9.2 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:L/SC:H/SI:N/SA:L
Description
The ganga-devs/ganga repository before 8.5.10 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-31507 ↗
- https://github.com/github/securitylab/issues/669#issuecomment-1117265726 ↗
- https://github.com/ganga-devs/ganga/commit/730e7aba192407d35eb37dd7938d49071124be8c ↗
- https://github.com/ganga-devs/ganga/releases/tag/8.5.10 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/ganga/PYSEC-2022-225.yaml ↗
- https://github.com/advisories/GHSA-7488-6x3r-23w5 ↗