Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTJtcDUtbTk2OC1nd3Iy
Path Traversal in http-file-server
All versions of http-file-server
are vulnerable to Path Traversal. The package fails to sanitize URLs, allowing attackers to access server files outside of the served folder using relative paths.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
Permalink: https://github.com/advisories/GHSA-2mp5-m968-gwr2JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTJtcDUtbTk2OC1nd3Iy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 5 years ago
Updated: almost 2 years ago
CVSS Score: 5.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS Percentage: 0.00159
EPSS Percentile: 0.52826
Identifiers: GHSA-2mp5-m968-gwr2, CVE-2019-5447
References:
- https://nvd.nist.gov/vuln/detail/CVE-2019-5447
- https://hackerone.com/reports/570133
- https://www.npmjs.com/advisories/1077
- https://github.com/advisories/GHSA-2mp5-m968-gwr2
Affected Packages
npm:http-file-server
Dependent packages: 1Dependent repositories: 2
Downloads: 17 last month
Affected Version Ranges: < 0.2.6
No known fixed version
All affected versions: 0.1.0, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5