Ecosyste.ms: Advisories

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

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXhxcXItcDM2Mi02cm1j

Directory Traversal in hostr

Affected versions of hostr are vulnerable to directory traversal which allows attackers to read files outside the current directory by sending ../ in the url path for GET requests.

Recommendation

Upgrade to version 2.3.6 or later.

Permalink: https://github.com/advisories/GHSA-xqqr-p362-6rmc
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXhxcXItcDM2Mi02cm1j
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 6 years ago
Updated: about 1 year ago


CVSS Score: 7.5
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Identifiers: GHSA-xqqr-p362-6rmc, CVE-2017-16029
References: Repository: https://github.com/henrytseng/hostr
Blast Radius: 6.8

Affected Packages

npm:hostr
Dependent packages: 4
Dependent repositories: 8
Downloads: 778 last month
Affected Version Ranges: <= 2.3.5
Fixed in: 2.3.6
All affected versions: 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9, 2.0.0, 2.0.1, 2.0.9, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.2.7, 2.2.8, 2.2.9, 2.2.10, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5
All unaffected versions: 2.3.6, 2.3.7, 2.3.8, 2.3.9, 2.3.10, 3.0.1, 3.0.2, 3.0.3, 3.0.4444