npmWorst: High2 advisories

fastify-static: known vulnerabilities

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

How to fix fastify-static

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

npm install fastify-static@4.2.4 (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)

URL Redirection to Untrusted Site ('Open Redirect') in fastify-static Moderate 6.1 CWE-601 — Affected: before 4.2.4. Fixed in 4.2.4. Published 2021-10-14. GHSA-p6vg-p826-qp3v · CVE-2021-22963
DOS and Open Redirect with user input High 8.8 CWE-248 CWE-601 — Affected: from 4.2.4 up to 4.4.1. Fixed in 4.4.1. Published 2021-10-14. GHSA-pgh6-m65r-2rhq · CVE-2021-22964

Find fastify-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.