npmWorst: Low2 advisories

serve-static: known vulnerabilities

serve-static has 2 reviewed security advisories in the GitHub Advisory Database — 2 low. The most recent was published 2024-09-10. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the serve-static versions running across your servers, containers and images, and ranks what to patch first.

How to fix serve-static

Upgrade serve-static to a release at or above the fixed version shown for each advisory below. For npm:

npm install serve-static@2.1.0 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (2)

serve-static vulnerable to template injection that can lead to XSS Low 5.0 CWE-79 — Affected: from 2.0.0 up to 2.1.0. Fixed in 2.1.0. Published 2024-09-10. GHSA-cm22-4g7w-348p · CVE-2024-43800
Open Redirect in serve-static Low 3.1 CWE-601 — Affected: from 1.7.0 up to 1.7.2. Fixed in 1.7.2. Published 2020-08-31. GHSA-c3x7-gjmx-r2ff · CVE-2015-1164

Find serve-static across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.