Medium
Security advisory
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](https://security.snyk.io/vuln/npm:glance:20180129).
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-25937
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 05:40 UTC · Revision 1
Source evidence
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](https://security.snyk.io/vuln/npm:glance:20180129).
osv:CVE-2022-25937
Complete source record
{
"id": "1965e9328bd30045593ffea8dd9fecfa52fccc4eb7a8024288526c1e92fcbad5",
"url": "https://osv.dev/vulnerability/CVE-2022-25937",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-25937",
"summary": "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](https://security.snyk.io/vuln/npm:glance:20180129).",
"evidence": "osv:CVE-2022-25937",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2022-25937",
"aliases": [
"CVE-2022-25937",
"GHSA-3hjh-5hgx-f5wh"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:P"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/jarofghosts/glance",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "258cde5b124f6436401ce0321fa6ea1d4d1148a9"
},
{
"fixed": "8cecfe90286e0c45a5494067f1b592d0ccfeabac"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:glance_project:glance:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.0.9"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "8cecfe90286e0c45a5494067f1b592d0ccfeabac"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v3.0.8",
"v3.0.7",
"v3.0.6",
"v3.0.5",
"v3.0.4",
"v3.0.3",
"v3.0.2",
"v3.0.1",
"v3.0.0",
"v2.0.0",
"v1.0.0",
"v0.4.1",
"v0.4.0",
"v0.3.0",
"v0.2.7",
"v0.2.6",
"v0.2.5",
"0.1.12"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25937.json"
}
}
],
"modified": "2026-10-28T02:30:42.902396620Z",
"provider": "osv",
"references": [
"https://security.snyk.io/vuln/SNYK-JS-GLANCE-3318395",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25937.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-25937",
"https://github.com/jarofghosts/glance/commit/8cecfe90286e0c45a5494067f1b592d0ccfeabac"
],
"provider_metadata": {
"cwe_ids": [
"CWE-22"
],
"cna_assigner": "snyk",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25937.json"
}
},
"related_cves": [
{
"value": "CVE-2022-25937",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 510774,
"published_at": "2023-02-13T05:00:01.128+00:00"
}