{"id":"GHSA-vr98-27qj-3c8q","summary":"Directory traversal in rollup-plugin-server","details":"This affects all versions of package rollup-plugin-dev-server. There is no path sanitization in `readFile` operation inside the `readFileFromContentBase` function.","aliases":["CVE-2020-7686"],"modified":"2023-11-08T04:04:04.766994Z","published":"2020-07-29T18:07:35Z","database_specific":{"cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-07-29T17:46:03Z","nvd_published_at":null},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7686"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-ROLLUPPLUGINDEVSERVER-590124"}],"affected":[{"package":{"name":"rollup-plugin-server","ecosystem":"npm","purl":"pkg:npm/rollup-plugin-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.7.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/07/GHSA-vr98-27qj-3c8q/GHSA-vr98-27qj-3c8q.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"}]}