Live threats

All CVEs / Hapijs

CVE-2017-16013Hapijs Hapi

High 7.5 No auth needed

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

What happens

hapi is a web and services application framework. When hapi >= 15.0.0 <= 16.1.0 encounters a malformed `accept-encoding` header an uncaught exception is thrown. This may cause hapi to crash or to hang the client connection until the timeout period is reached.

Original NVD text.

What to do

  1. Apply the vendor's security update for Hapi.
  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 hapi ≥ 15.0.0 < 16.1.1 16.1.1 npm install hapi@16.1.1

Per OSV / GitHub Advisories (GHSA-cqjg-whmm-8gv6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
hapijshapi≥ 15.0.0 ≤ 16.1.0

Official sources

References

Links published by the sources. Open them with care.