{"id":"GHSA-c3x7-gjmx-r2ff","summary":"Open Redirect in serve-static","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.","aliases":["CVE-2015-1164"],"modified":"2023-11-08T03:57:49.518349Z","published":"2020-08-31T22:57:02Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-08-31T18:08:42Z","nvd_published_at":null,"cwe_ids":["CWE-601"],"severity":"LOW"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-1164"},{"type":"WEB","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":"PACKAGE","url":"https://github.com/expressjs/serve-static"},{"type":"WEB","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"}],"affected":[{"package":{"name":"serve-static","ecosystem":"npm","purl":"pkg:npm/serve-static"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.7.2"}]}],"database_specific":{"last_known_affected_version_range":"\u003c 1.6.5","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/08/GHSA-c3x7-gjmx-r2ff/GHSA-c3x7-gjmx-r2ff.json"}},{"package":{"name":"serve-static","ecosystem":"npm","purl":"pkg:npm/serve-static"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.7.0"},{"fixed":"1.7.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/08/GHSA-c3x7-gjmx-r2ff/GHSA-c3x7-gjmx-r2ff.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N"}]}