serve-static
Affected
- introduced
0, fixed1.7.2(semver)
Fixed versions
1.7.2
Fix
- Fixed version
1.7.2npm install [email protected]
Advisory
Also known as: CVE-2015-1164
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.
Low Basis: The source's own band: LOW
0, fixed 1.7.2 (semver)1.7.2
1.7.2npm install [email protected]1.7.0, fixed 1.7.2 (semver)1.7.2
1.7.2npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0