原始 OSV JSON{
"id": "GHSA-g8wf-rcg3-qw4q",
"aliases": [
"CVE-2017-16085"
],
"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.\n\n**Example request:**\n```http\nGET /../../../../../../../../../../etc/passwd HTTP/1.1\nhost:foo\n```\n\n\n## Recommendation\n\nUpdate to v0.6.0 or later.",
"summary": "Directory Traversal in tinyserver2",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.0"
}
]
}
],
"package": {
"name": "tinyserver2",
"ecosystem": "npm"
},
"database_specific": {
"last_known_affected_version_range": "<= 0.5.2"
}
}
],
"modified": "2023-09-06T20:05:30Z",
"severity": [],
"published": "2018-07-24T15:01:34Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16085",
"type": "ADVISORY"
},
{
"url": "https://github.com/JacksonGL/NPM-Vuln-PoC/tree/master/directory-traversal/tinyserver2",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-g8wf-rcg3-qw4q",
"type": "ADVISORY"
},
{
"url": "https://www.npmjs.com/advisories/371",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-22"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-06-16T21:36:37Z"
}
}