{"id":"GHSA-wcwm-c3mr-pxcr","summary":"easy-static-server vulnerable to Directory Traversal","details":"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.","aliases":["CVE-2022-25931"],"modified":"2023-11-08T04:08:52.507754Z","published":"2022-12-20T06:30:36Z","database_specific":{"cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-12-20T17:38:01Z","nvd_published_at":"2022-12-20T05:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25931"},{"type":"WEB","url":"https://gist.github.com/lirantal/fdfbe26561788c8194a54bf6d31772c9"},{"type":"PACKAGE","url":"https://github.com/cunjieliu/easyServer"},{"type":"WEB","url":"https://github.com/cunjieliu/easyServer/blob/master/index.js#23L27"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-EASYSTATICSERVER-3153539"}],"affected":[{"package":{"name":"easy-static-server","ecosystem":"npm","purl":"pkg:npm/easy-static-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.1.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-wcwm-c3mr-pxcr/GHSA-wcwm-c3mr-pxcr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}