GitHub Advisoryadvisory · npm

GHSA-4j46-mp85-mv8c Path traversal in rollup-plugin-serve

CRITICAL Published 2021-05-18 Modified 2021-05-18 Official page ↗
Aliases
CVE-2020-7684
Ecosystem
npm
Packages
rollup-plugin-serve
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-22
Reviewed
2021-05-10

Affected packages

• npm rollup-plugin-serve: < 1.0.2 → fixed in 1.0.2

Description

Path traversal in npm package `rollup-plugin-serve` before version 1.0.2. There is no path sanitization in `readFile` operation.

Related

Alias · CVE (1)

  • CVE-2020-7684 This affects all versions of package rollup-plugin-serve. vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References