{"id":"CVE-2022-25931","state":"PUBLISHED","title":"Directory Traversal","description":"All versions of package easy-static-server are vulnerable to Directory Traversal due to missing input sanitization and sandboxes being employed to the req.url user input that is passed to the server code.","publishedAt":"2022-12-21T01:21:43.830Z","updatedAt":"2025-04-16T18:07:59.150Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","source":"snyk"},"assigner":"snyk","products":["n/a easy-static-server"],"affected":[{"vendor":"n/a","product":"easy-static-server","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"}]}],"references":["https://security.snyk.io/vuln/SNYK-JS-EASYSTATICSERVER-3153539","https://github.com/cunjieliu/easyServer/blob/master/index.js%23L27","https://gist.github.com/lirantal/fdfbe26561788c8194a54bf6d31772c9"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T19:49:46.971Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/25xxx/CVE-2022-25931.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-25931","state":"PUBLISHED","datePublished":"2022-12-21T01:21:43.830Z","dateUpdated":"2025-04-16T18:07:59.150Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2022-02-24T00:00:00.000Z"},"containers":{"cna":{"title":"Directory Traversal","descriptions":[{"lang":"en","value":"All versions of package easy-static-server are vulnerable to Directory Traversal due to missing input sanitization and sandboxes being employed to the req.url user input that is passed to the server code."}],"affected":[{"vendor":"n/a","product":"easy-static-server","versions":[{"version":"0","status":"affected","lessThan":"unspecified","versionType":"custom"}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-EASYSTATICSERVER-3153539"},{"url":"https://github.com/cunjieliu/easyServer/blob/master/index.js%23L27"},{"url":"https://gist.github.com/lirantal/fdfbe26561788c8194a54bf6d31772c9"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","exploitCodeMaturity":"PROOF_OF_CONCEPT","remediationLevel":"NOT_DEFINED","reportConfidence":"NOT_DEFINED","baseScore":7.5,"temporalScore":7.1,"baseSeverity":"HIGH","temporalSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"Directory Traversal"}]}],"providerMetadata":{"shortName":"snyk","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateUpdated":"2022-12-20T00:00:00.000Z"},"datePublic":"2022-12-20T00:00:00.000Z","credits":[{"lang":"en","value":"Liran Tal"},{"lang":"en","value":"Snyk"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-EASYSTATICSERVER-3153539","tags":["x_transferred"]},{"url":"https://github.com/cunjieliu/easyServer/blob/master/index.js%23L27","tags":["x_transferred"]},{"url":"https://gist.github.com/lirantal/fdfbe26561788c8194a54bf6d31772c9","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T04:49:44.448Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-16T18:07:43.418246Z","id":"CVE-2022-25931","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","type":"CWE","lang":"en","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-16T18:07:59.150Z"}}]}}}