Skip to content
OpenAdvisories
Low · 3.1 CVE-2015-1164 EUVD-2020-0610GHSA-c3x7-gjmx-r2ff

Open Redirect in serve-static

Published Jan 21, 2015 · Updated Aug 6, 2024 · Assigned by mitre

Description

Open redirect vulnerability in the serve-static plugin before 1.7.2 for Node.js, when mounted at the root, allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via a // (slash slash) followed by a domain in the PATH_INFO to the default URI.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-serve-static 1.6.4-2 —
Debian 13 node-serve-static 1.6.4-2 —
Debian 12 node-serve-static 1.6.4-2 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 nodejs-nodemon No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm serve-static < 1.7.2 1.7.2 GHSA-c3x7-gjmx-r2ff
npm serve-static >= 1.7.0, < 1.7.2 1.7.2 GHSA-c3x7-gjmx-r2ff

References