HighGHSA-cqjg-whmm-8gv6CVE-2017-16013

Denial of Service via malformed accept-encoding header in hapi

Published 9 Oct 2018 · Updated 8 Nov 2023

Affected package

hapinpm
Affected
>=15.0.0 <16.1.1
Fixed in
16.1.1
Update to the fixed version for your release line, for example:npm install hapi@16.1.1

Details

Affected versions of hapi will crash or lock the event loop when a malformed accept-encoding header is recieved.

Recommendation

Update to version 16.1.1 or later.

Is GHSA-cqjg-whmm-8gv6 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 hapi, and gives you the command that fixes it.

References

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