GitHub Advisoryadvisory · PyPI
GHSA-x2pc-fqrw-hc7f SatyaLab opendiamond 10.1.1 vulnerable to path traversal because Flask send_file function used unsafely
CRITICAL
Official page ↗
- Aliases
- CVE-2022-31506
- Ecosystem
- PyPI
- Packages
- opendiamond
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
- Weaknesses
- CWE-22
- Reviewed
- 2022-07-21
Affected packages
• PyPI opendiamond: <= 10.1.1 (no fix yet)
Description
The cmusatyalab/opendiamond repository through 10.1.1 on GitHub allows absolute path traversal because the Flask send_file function is used unsafely. A patch is available on the `master` branch of the repository.
Related
Alias · CVE (1)
- CVE-2022-31506 The cmusatyalab/opendiamond repository through 10.1.1 on GitHub allows absolute path traversal because the Flask send_file function is used… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-31506 advisory
- https://github.com/cmusatyalab/opendiamond/issues/52 web
- https://github.com/github/securitylab/issues/669#issuecomment-1117265726 web
- https://github.com/cmusatyalab/opendiamond/commit/398049c187ee644beabab44d6fece82251c1ea56 web
- https://github.com/cmusatyalab/opendiamond package