Live threats

All CVEs / Hapijs

CVE-2017-16025Hapijs Nes

Medium 5.9 No auth needed

Priority
51
CVSS 3.0
5.9
EPSS
1.8%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
Jun 4, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-287
Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nes.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm nes < 6.4.1 6.4.1 npm install nes@6.4.1

Per OSV / GitHub Advisories (GHSA-3pwh-5mmc-mwrx). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
hapijsnes≤ 6.4.0

Official sources

References

Links published by the sources. Open them with care.