CVE-2022-31507
CRITICAL 9.3CVSS 3.1Ganga allows absolute path traversal
The ganga-devs/ganga repository before 8.5.10 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely.
- Published
- 11 Jul 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-7488-6x3r-23w5PYSEC-2022-225
- Sources
- NVDJSONOSV GHSA-7488-6x3r-23w5JSONOSV PYSEC-2022-225JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:P/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ganga_project | gangacpe:2.3:a:ganga_project:ganga:*:*:*:*:*:*:*:* |
< 8.5.10 | 8.5.10 |
| OSV | PyPI | ganga | < 8.5.10 | 8.5.10 |
References
- https://github.com/ganga-devs/ganga/commit/730e7aba192407d35eb37dd7938d49071124be8c · Exploit, Patch, Third Party Advisory, WEB, FIX
- https://github.com/ganga-devs/ganga/releases/tag/8.5.10 · Release Notes, Third Party Advisory, WEB
- https://github.com/github/securitylab/issues/669#issuecomment-1117265726 · Exploit, Issue Tracking, Third Party Advisory, WEB, REPORT
- https://nvd.nist.gov/vuln/detail/CVE-2022-31507 · ADVISORY
- https://github.com/advisories/GHSA-7488-6x3r-23w5 · ADVISORY
- https://github.com/ganga-devs/ganga · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/ganga/PYSEC-2022-225.yaml · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 11 Jul 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 11 Jul 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Jul 2022)