GHSA-g8wf-rcg3-qw4q

Suggest an improvement
Source
https://github.com/advisories/GHSA-g8wf-rcg3-qw4q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-g8wf-rcg3-qw4q/GHSA-g8wf-rcg3-qw4q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-g8wf-rcg3-qw4q
Aliases
  • CVE-2017-16085
Published
2018-07-24T15:01:34Z
Modified
2023-11-08T03:59:03.940451Z
Summary
Directory Traversal in tinyserver2
Details

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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-22"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:36:37Z",
    "severity": "HIGH"
}
References

Affected packages

npm / tinyserver2

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.6.0

Database specific

last_known_affected_version_range
"<= 0.5.2"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-g8wf-rcg3-qw4q/GHSA-g8wf-rcg3-qw4q.json"