{"id":"CVE-2022-25937","published":"2023-02-13T05:00:01Z","modified":"2025-03-21T14:52:00Z","title":"Versions of the package glance before 3.0.9 are vulnerable to Directory Traversal that allows users to read files…","vendor":null,"product":null,"tier":"tail","description":{"text":"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).\r\r","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0111,"percentile":0.66732,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-GLANCE-3318395","tags":[]},{"url":"https://github.com/jarofghosts/glance/commit/8cecfe90286e0c45a5494067f1b592d0ccfeabac","tags":[]}],"priority":{"score":17.9,"factors":[{"name":"EPSS percentile","points":13.35},{"name":"CVSS severity","points":4.55}]},"affectedVersions":[{"vendor":"n/a","product":"glance","versions":["< 3.0.9"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-21T14:51:44.639555Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"glance","vulnerableRanges":["<3.0.9"],"patched":["3.0.9"],"from":["GHSA-3hjh-5hgx-f5wh"],"provenance":"source"}],"euvd":{"id":"EUVD-2023-0612","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-hackerone-glance-node-module-cve-2018-3715","parents":[{"from":"CVE-2018-3715","to":"CVE-2022-25937","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/jarofghosts/glance/commit/8cfd88e44ebd3f07e3a2eaf376a3e758b6c4ca19","https://github.com/jarofghosts/glance/commit/8cecfe90286e0c45a5494067f1b592d0ccfeabac"],"basis":"shared function","functions":["Glance$serveRequest"]}]},{"from":"CVE-2018-3748","to":"CVE-2022-25937","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["index.js"],"commits":["https://github.com/jarofghosts/glance/commit/cdc68bb68d785343ddb829f1adc130cdd6169533","https://github.com/jarofghosts/glance/commit/8cecfe90286e0c45a5494067f1b592d0ccfeabac"],"basis":"shared function","functions":["Glance$serveRequest"]}]}]}}