原始 OSV JSON{
"id": "GHSA-5w8q-x7hc-jhp6",
"aliases": [
"CVE-2017-16083"
],
"details": "Affected versions of `node-simple-router` 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.10.1 or later.",
"summary": "Directory Traversal in node-simple-router",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.10.1"
}
]
}
],
"package": {
"name": "node-simple-router",
"ecosystem": "npm"
},
"database_specific": {
"last_known_affected_version_range": "<= 0.10.0"
}
}
],
"modified": "2023-09-11T23:13:46Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"published": "2018-07-24T19:42:39Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16083",
"type": "ADVISORY"
},
{
"url": "https://github.com/sandy98/node-simple-router/commit/dfdd52e2e80607af433097d940b3834fd96df488",
"type": "WEB"
},
{
"url": "https://github.com/JacksonGL/NPM-Vuln-PoC/tree/master/directory-traversal/node-simple-router",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-5w8q-x7hc-jhp6",
"type": "ADVISORY"
},
{
"url": "https://www.npmjs.com/advisories/352",
"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:17:29Z"
}
}