原始 OSV JSON{
"id": "GHSA-xqqr-p362-6rmc",
"aliases": [
"CVE-2017-16029"
],
"details": "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.\n\n\n## Recommendation\n\nUpgrade to version 2.3.6 or later.",
"summary": "Directory Traversal in hostr",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.6"
}
]
}
],
"package": {
"name": "hostr",
"ecosystem": "npm"
},
"database_specific": {
"last_known_affected_version_range": "<= 2.3.5"
}
}
],
"modified": "2023-09-12T21:11:28Z",
"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-11-09T17:44:20Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16029",
"type": "ADVISORY"
},
{
"url": "https://github.com/henrytseng/hostr/issues/8",
"type": "WEB"
},
{
"url": "https://github.com/henrytseng/hostr/issues/8)",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-xqqr-p362-6rmc",
"type": "ADVISORY"
},
{
"url": "https://www.npmjs.com/advisories/303",
"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-16T22:04:17Z"
}
}