Skip to content

Path Traversal in public

High severity GitHub Reviewed Published Jul 18, 2018 to the GitHub Advisory Database • Updated Jan 31, 2023

Package

npm public (npm)

Affected versions

<= 0.1.2

Patched versions

0.1.3

Description

Versions of public before 0.1.3 are vulnerable to path traversal. This is due to lack of file path sanitization which could lead to any file the parent process has access to on the server to be read by malicious user.

Recommendation

Update to version 0.1.3 or later.

References

Published by the National Vulnerability Database Jun 7, 2018
Published to the GitHub Advisory Database Jul 18, 2018
Reviewed Jun 16, 2020
Last updated Jan 31, 2023

Severity

High
7.5
/ 10

CVSS base metrics

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

Weaknesses

CVE ID

CVE-2018-3731

GHSA ID

GHSA-rwv8-jvff-jq28

Source code

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