GitHub Advisoryadvisory · npm
GHSA-3hjh-5hgx-f5wh Path traversal vulnerability in glance
MEDIUM
Official page ↗
- Aliases
- CVE-2022-25937
- Ecosystem
- npm
- Packages
- glance
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2023-02-14
Affected packages
• npm glance: < 3.0.9 → fixed in 3.0.9
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.
Related
Alias · CVE (1)
- CVE-2022-25937 Versions of the package glance before 3.0.9 are vulnerable to Directory Traversal that allows users to read files outside the public root… 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-25937 advisory
- https://github.com/jarofghosts/glance/commit/8cecfe90286e0c45a5494067f1b592d0ccfeabac web
- https://gist.github.com/lirantal/c8cfb0398c78e558b7d4ac02aae67809 web
- https://github.com/jarofghosts/glance package
- https://security.snyk.io/vuln/SNYK-JS-GLANCE-3318395 web