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.2

Patched versions

0.40.2

Description

Affected versions of harp are vulnerable to Unauthorized File Access. The package states that it ignores files and directories with names that start with an underscore, such as _secret-folder. If the underscore character is URL encoded the server delivers the file.

Recommendation

Upgrade to version 0.40.2 or later.

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.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Weaknesses

CVE ID

CVE-2019-5437

GHSA ID

GHSA-46hv-7769-j7rx

Source code

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