Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWMzeDctZ2pteC1yMmZm
Open Redirect in serve-static
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.
Proof of Concept
A link to http://example.com//www.google.com/%2e%2e
will redirect to //www.google.com/%2e%2e
Some browsers will interpret this as http://www.google.com/%2e%2e
, resulting in an external redirect.
Recommendation
Version 1.7.x: Update to version 1.7.2 or later.
Version 1.6.x: Update to version 1.6.5 or later.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWMzeDctZ2pteC1yMmZm
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: over 3 years ago
Updated: over 1 year ago
CVSS Score: 3.1
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N
Identifiers: GHSA-c3x7-gjmx-r2ff, CVE-2015-1164
References:
- https://github.com/expressjs/serve-static/issues/26
- https://www.npmjs.com/advisories/35
- https://nvd.nist.gov/vuln/detail/CVE-2015-1164
- https://bugzilla.redhat.com/show_bug.cgi?id=1181917
- https://exchange.xforce.ibmcloud.com/vulnerabilities/99936
- https://snyk.io/vuln/npm:serve-static:20150113
- http://www.securityfocus.com/bid/72064
- https://github.com/advisories/GHSA-c3x7-gjmx-r2ff
Blast Radius: 20.8
Affected Packages
npm:serve-static
Dependent packages: 5,768Dependent repositories: 4,975,561
Downloads: 125,432,981 last month
Affected Version Ranges: >= 1.7.0, < 1.7.2, < 1.6.5
Fixed in: 1.7.2, 1.7.2
All affected versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.7.0, 1.7.1
All unaffected versions: 1.6.5, 1.7.2, 1.8.0, 1.8.1, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.10.0, 1.10.1, 1.10.2, 1.10.3, 1.11.0, 1.11.1, 1.11.2, 1.12.0, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.13.0, 1.13.1, 1.13.2, 1.14.0, 1.14.1, 1.14.2, 1.15.0