原始 OSV JSON{
"id": "GHSA-c3x7-gjmx-r2ff",
"aliases": [
"CVE-2015-1164"
],
"details": "Versions of `serve-static` prior to 1.6.5 ( or 1.7.x prior to 1.7.2 ) are affected by an open redirect vulnerability on some browsers when configured to mount at the root directory.\n\n\n## Proof of Concept\n\nA link to `http://example.com//www.google.com/%2e%2e` will redirect to `//www.google.com/%2e%2e`\n\nSome browsers will interpret this as `http://www.google.com/%2e%2e`, resulting in an external redirect.\n\n\n## Recommendation\n\nVersion 1.7.x: Update to version 1.7.2 or later.\nVersion 1.6.x: Update to version 1.6.5 or later.",
"summary": "Open Redirect in serve-static",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.7.2"
}
]
}
],
"package": {
"name": "serve-static",
"ecosystem": "npm"
},
"database_specific": {
"last_known_affected_version_range": "< 1.6.5"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.7.0"
},
{
"fixed": "1.7.2"
}
]
}
],
"package": {
"name": "serve-static",
"ecosystem": "npm"
}
}
],
"modified": "2021-09-23T20:59:30Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N"
}
],
"published": "2020-08-31T22:57:02Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2015-1164",
"type": "ADVISORY"
},
{
"url": "https://github.com/expressjs/serve-static/issues/26",
"type": "WEB"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1181917",
"type": "WEB"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/99936",
"type": "WEB"
},
{
"url": "https://github.com/expressjs/serve-static",
"type": "PACKAGE"
},
{
"url": "https://snyk.io/vuln/npm:serve-static:20150113",
"type": "WEB"
},
{
"url": "https://www.npmjs.com/advisories/35",
"type": "WEB"
},
{
"url": "http://www.securityfocus.com/bid/72064",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-601"
],
"severity": "LOW",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-08-31T18:08:42Z"
}
}