{"id":"GHSA-4j46-mp85-mv8c","summary":"Path traversal in rollup-plugin-serve","details":"Path traversal in npm package `rollup-plugin-serve` before version 1.0.2. There is no path sanitization in `readFile` operation.","aliases":["CVE-2020-7684"],"modified":"2023-11-08T04:04:04.644722Z","published":"2021-05-18T01:52:24Z","database_specific":{"nvd_published_at":"2020-07-17T08:15:00Z","cwe_ids":["CWE-22"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-05-10T21:12:24Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7684"},{"type":"WEB","url":"https://github.com/thgh/rollup-plugin-serve/commit/3d144f2f47e86fcba34f5a144968da94220e3969"},{"type":"WEB","url":"https://github.com/thgh/rollup-plugin-serve/releases/tag/v1.0.2"},{"type":"WEB","url":"https://vuldb.com/?id.158745"}],"affected":[{"package":{"name":"rollup-plugin-serve","ecosystem":"npm","purl":"pkg:npm/rollup-plugin-serve"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-4j46-mp85-mv8c/GHSA-4j46-mp85-mv8c.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:H/A:H"}]}