CVE-2017-16013
HIGH 7.5CVSS 3.0Denial of Service via malformed accept-encoding header in hapi
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.
- Published
- 4 Jun 2018
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-20CWE-400
- Also known as
- GHSA-cqjg-whmm-8gv6
- Sources
- NVDJSONOSV GHSA-cqjg-whmm-8gv6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hapijs | hapicpe:2.3:a:hapijs:hapi:*:*:*:*:*:node.js:*:* |
>= 15.0.0, <= 16.1.0 | |
| OSV | npm | hapi | >= 15.0.0, < 16.1.1 | 16.1.1 |
References
- https://github.com/hapijs/hapi/issues/3466 · Third Party Advisory, WEB
- https://nodesecurity.io/advisories/335 · Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-16013 · ADVISORY
- https://github.com/advisories/GHSA-cqjg-whmm-8gv6 · ADVISORY
- https://www.npmjs.com/advisories/335 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 4 Jun 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Oct 2018)