Skip to content

Unauthorized File Access in harp

Moderate severity GitHub Reviewed Published Jun 13, 2019 to the GitHub Advisory Database • Updated Sep 7, 2023

Package

npm harp (npm)

Affected versions

< 0.40.3

Patched versions

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.

References

Reviewed Jun 13, 2019
Published to the GitHub Advisory Database Jun 13, 2019
Last updated Sep 7, 2023

Severity

Moderate
5.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Weaknesses

CVE ID

CVE-2019-5438

GHSA ID

GHSA-6fmm-47qc-p4m4

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.