MediumGHSA-xw5p-hw6r-2j98CVE-2020-8192

Denial of service in fastify

Published 5 Aug 2020 · Updated 8 Nov 2023

Affected package

Affected
<2.15.1
Fixed in
2.15.1
Update to the fixed version for your release line, for example:npm install fastify@2.15.1

Details

A denial of service vulnerability exists in Fastify v2.14.1 and v3.0.0-rc.4 that allows a malicious user to trigger resource exhaustion (when the allErrors option is used) with specially crafted schemas.

Is GHSA-xw5p-hw6r-2j98 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected fastify, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.