CVE-2017-16025
Hapijs Nes vulnerability
Nes is a websocket extension library for hapi. Hapi is a webserver framework. Versions below and including 6.4.0 have a denial of service vulnerability via an invalid Cookie header. This is only present when websocket authentication is set to `cookie`. Submitting an invalid cookie on the websocket upgrade request will cause the node process to error out.
Affected products
Nes. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Hapijs Nes runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/hapijs/nes/commit/249ba1755ed6977fbc208463c87364bf884ad655 · Patch
- github.com/hapijs/nes/issues/171 · Third Party Advisory
- nodesecurity.io/advisories/331 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-16025
- cve.org/CVERecord?id=CVE-2017-16025
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.