CVE-2017-16013Hapijs Hapi
High 7.5 No auth needed
Follow: this CVE · Hapijs · Hapijs Hapi We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Hapi.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| hapijs | hapi | ≥ 15.0.0 ≤ 16.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- nodesecurity.io Third Party Advisory