jarofghosts/glance · Security
Path traversal vulnerability in glance
- GHSA ID
- GHSA-3hjh-5hgx-f5wh
- CVE ID
- CVE-2022-25937
- Severity
- medium
- Published
- Updated
- CVSS
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 6.5 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Description
Versions of the package glance before 3.0.9 are vulnerable to Directory Traversal that allows users to read files outside the public root directory. This is related to but distinct from the vulnerability reported in CVE-2018-3715.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25937 ↗
- https://github.com/jarofghosts/glance/commit/8cecfe90286e0c45a5494067f1b592d0ccfeabac ↗
- https://security.snyk.io/vuln/SNYK-JS-GLANCE-3318395 ↗
- https://gist.github.com/lirantal/c8cfb0398c78e558b7d4ac02aae67809 ↗
- https://github.com/advisories/GHSA-3hjh-5hgx-f5wh ↗