logo

CVE-2018-3712 serve

Package

Manager: npm
Name: serve
Vulnerable Version: >=0 <6.4.9

Severity

Level: Medium

CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: 0.00714 pctl0.71492

Details

Directory Traversal in serve Affected versions of `serve` do not properly handle `%2e` (.) and `%2f` (/) characters, and allow the, characters to be used in paths. This can be used to traverse the directory tree and list content of any directory the user running the process has access to. Mitigating factors: This vulnerability only allows listing of directory contents and does not allow reading of arbitrary files. ## Recommendation Update to version 6.4.9 later.

Metadata

Created: 2018-07-27T17:07:50Z
Modified: 2023-04-21T19:00:42Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-q2qh-cgc2-qhr3/GHSA-q2qh-cgc2-qhr3.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-q2qh-cgc2-qhr3
Finding: F063
Auto approve: 1