{"id":"CVE-2020-7684","aliases":["EUVD-2021-0942","GHSA-4j46-mp85-mv8c"],"status":"published","title":"Directory Traversal","description":"This affects all versions of package rollup-plugin-serve. There is no path sanitization in readFile operation.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01474,"percentile":0.74012,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2020-07-17T07:25:11Z","modified":"2026-06-17T03:25:15Z","fixes":[{"ecosystem":"npm","package":"rollup-plugin-serve","fixed_in":["1.0.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"rollup-plugin-serve","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.2"}]}]},{"source":"osv","ecosystem":"npm","package":"rollup-plugin-serve","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.2"}]}]}],"products":[{"vendor":"rollup-plugin-serve_project","product":"rollup-plugin-serve"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-FASTHTTP-572886","tags":["x_refsource_MISC","x_transferred","Broken Link"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7684","tags":["advisory"]},{"url":"https://github.com/thgh/rollup-plugin-serve/commit/3d144f2f47e86fcba34f5a144968da94220e3969","tags":["web"]},{"url":"https://github.com/thgh/rollup-plugin-serve/releases/tag/v1.0.2","tags":["web"]},{"url":"https://vuldb.com/?id.158745","tags":["Third Party Advisory","web"]},{"url":"https://github.com/advisories/GHSA-4j46-mp85-mv8c"}],"sources":{"cve":[{"id":"CVE-2020-7684","title":"Directory Traversal","description":"This affects all versions of package rollup-plugin-serve. There is no path sanitization in readFile operation.","status":"published","published":"2020-07-17T07:25:11.671Z","modified":"2024-09-17T04:14:15.51Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:P","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:35:58.787905Z"}],"euvd":[{"id":"EUVD-2021-0942","description":"This affects all versions of package rollup-plugin-serve. There is no path sanitization in readFile operation.","status":"published","published":"2020-07-17T07:25:11Z","modified":"2024-09-17T04:14:15Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:P","level":"high"}],"updated_at":"2026-11-03T00:28:24.821388Z"}],"ghsa":[{"id":"GHSA-4j46-mp85-mv8c","title":"Path traversal in rollup-plugin-serve","description":"Path traversal in npm package `rollup-plugin-serve` before version 1.0.2. There is no path sanitization in `readFile` operation.","status":"published","published":"2021-05-18T01:52:24Z","modified":"2023-02-01T05:05:29Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:36:34.260786Z"}],"nvd":[{"id":"CVE-2020-7684","description":"This affects all versions of package rollup-plugin-serve. There is no path sanitization in readFile operation.","status":"published","published":"2020-07-17T08:15:12.067Z","modified":"2026-06-17T03:25:15.62Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:06:10.086163Z"}],"osv":[{"id":"GHSA-4j46-mp85-mv8c","title":"Path traversal in rollup-plugin-serve","description":"Path traversal in npm package `rollup-plugin-serve` before version 1.0.2. There is no path sanitization in `readFile` operation.","status":"published","published":"2021-05-18T01:52:24Z","modified":"2023-11-08T04:04:04.644722Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:37.148947Z"}]}}
