GitHub Advisoryadvisory · npm

GHSA-6fmm-47qc-p4m4 Unauthorized File Access in harp

MEDIUM Published 2019-06-13 Modified 2023-09-07 Official page ↗
Aliases
CVE-2019-5438
Ecosystem
npm
Packages
harp
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-22
Reviewed
2019-06-13

Affected packages

• npm harp: < 0.40.3 → fixed in 0.40.3

Description

All versions of `harp` are vulnerable to Unauthorized File Access. If a symlink in the project's base directory points to a file outside of the directory, the file is served. This could allow an attacker to access sensitive files on the server. Recommendation No fix is currently available. Consider using an alternative module until a fix is made available.

Related

Alias · CVE (1)

  • CVE-2019-5438 Path traversal using symlink in npm harp module versions <= 0.29.0. vulnerability

Weakness · CWE (1)

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

References