Lucene search

K
githubGitHub Advisory DatabaseGHSA-6FMM-47QC-P4M4
HistoryJun 13, 2019 - 4:12 p.m.

Unauthorized File Access in harp

2019-06-1316:12:26
CWE-22
GitHub Advisory Database
github.com
7

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

0.001 Low

EPSS

Percentile

48.4%

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.

Affected configurations

Vulners
Node
harpjsharpRange<0.40.3node.js
CPENameOperatorVersion
harplt0.40.3

5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:N/C:P/I:N/A:N

5.3 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

0.001 Low

EPSS

Percentile

48.4%