Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWc4d2YtcmNnMy1xdzRx

Directory Traversal in tinyserver2

Affected versions of tinyserver2 resolve relative file paths, resulting in a directory traversal vulnerability. A malicious actor can use this vulnerability to access files outside of the intended directory root, which may result in the disclosure of private files on the vulnerable system.

Example request:

GET /../../../../../../../../../../etc/passwd HTTP/1.1
host:foo

Recommendation

Update to v0.6.0 or later.

Permalink: https://github.com/advisories/GHSA-g8wf-rcg3-qw4q
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWc4d2YtcmNnMy1xdzRx
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 6 years ago
Updated: 8 months ago


Identifiers: GHSA-g8wf-rcg3-qw4q, CVE-2017-16085
References: Blast Radius: 0.0

Affected Packages

npm:tinyserver2
Dependent packages: 1
Dependent repositories: 1
Downloads: 13 last month
Affected Version Ranges: <= 0.5.2
Fixed in: 0.6.0
All affected versions: 0.5.0, 0.5.1, 0.5.2
All unaffected versions: 0.6.0, 0.6.1