Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-16013

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-16013
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:52 UTC · Revision 1

Source evidence

CVE-2017-16013

core-osv · Original source

Published 4 Jun 2018, 19:29 UTC

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.

osv:CVE-2017-16013
Complete source record
{
  "id": "ad4f18610e1ad688040bb7e130c85c082d72c5c999608ebe2821605a11d45206",
  "url": "https://osv.dev/vulnerability/CVE-2017-16013",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-16013",
    "summary": "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.",
    "evidence": "osv:CVE-2017-16013",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2017-16013",
      "aliases": [
        "CVE-2017-16013",
        "GHSA-cqjg-whmm-8gv6"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/hapijs/hapi",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "4ecf32856fa5eb3d1420007ec0c90e26636b8b7d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:hapijs:hapi:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "15.0.0"
                      },
                      {
                        "last_affected": "16.1.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v16.1.0",
            "v16.0.3",
            "v16.0.2",
            "v16.0.1",
            "v16.0.0",
            "v15.2.0",
            "v15.1.1",
            "v15.1.0",
            "v15.0.3",
            "v15.0.2",
            "v15.0.1",
            "v14.2.0",
            "v14.1.0",
            "v14.0.0",
            "v13.5.2",
            "v13.5.1",
            "v13.5.0",
            "v13.4.2",
            "v13.4.1",
            "v13.4.0",
            "v13.3.0",
            "v13.2.2",
            "v13.2.1",
            "v13.1.0",
            "v13.0.0",
            "v12.1.0",
            "v12.0.1",
            "v12.0.0",
            "v11.1.2",
            "v11.1.1",
            "v11.1.0",
            "v11.0.5",
            "v10.5.0",
            "v11.0.4",
            "v11.0.3",
            "v11.0.2",
            "v11.0.1",
            "v11.0.0",
            "v10.4.1",
            "v10.4.0",
            "v10.3.0",
            "v10.2.1",
            "v10.2.0",
            "v10.1.0",
            "v10.0.1",
            "v10.0.0",
            "v9.3.1",
            "v9.3.0",
            "v9.2.0",
            "v9.1.0",
            "v9.0.4",
            "v9.0.3",
            "v9.0.2",
            "v9.0.1",
            "v9.0.0",
            "v8.8.1",
            "v8.8.0",
            "v8.6.1",
            "v8.6.0",
            "v8.5.3",
            "v8.5.2",
            "v8.5.1",
            "v8.5.0",
            "v8.4.0",
            "v8.3.1",
            "v8.3.0",
            "v8.2.0",
            "v8.1.0",
            "v7.5.2",
            "v8.0.0",
            "v8.0.0-rc9",
            "v8.0.0-rc8",
            "v8.0.0-rc7",
            "v8.0.0-rc6",
            "v8.0.0-rc5",
            "v8.0.0-rc4",
            "v8.0.0-rc3",
            "v8.0.0-rc2",
            "v8.0.0-rc1",
            "v7.5.1",
            "v7.5.0",
            "v7.3.0",
            "v7.2.0",
            "v7.1.1",
            "v7.1.0",
            "v7.0.1",
            "v7.0.0",
            "v6.11.1",
            "v6.11.0",
            "v6.10.0",
            "v6.9.0",
            "v6.8.1",
            "v6.8.0",
            "v6.6.0",
            "v6.5.0",
            "v6.5.1",
            "v6.4.0",
            "v6.3.0",
            "v6.2.2",
            "v6.2.1",
            "v6.2.0",
            "v6.1.0",
            "v6.0.2",
            "v6.0.1",
            "v6.0.0",
            "v5.1.0",
            "v5.0.0",
            "v4.1.4",
            "v4.1.3",
            "v4.1.2",
            "v4.1.1",
            "v4.1.0",
            "v4.0.3",
            "v4.0.2",
            "v4.0.1",
            "v4.0.0",
            "v3.1.0",
            "v3.0.2",
            "v3.0.1",
            "v3.0.0",
            "v2.6.0",
            "v2.5.0",
            "v2.4.0",
            "v2.3.0",
            "v2.2.0",
            "v2.1.2",
            "v2.1.1",
            "v2.0.0",
            "v2.0.0-preview",
            "v1.20.0",
            "v1.19.5",
            "v1.19.4",
            "v1.19.3",
            "v1.19.2",
            "v1.19.0",
            "v1.18.0",
            "v1.17.0",
            "v1.16.1",
            "v1.16.0",
            "v1.15.0",
            "v1.14.0",
            "v1.13.0",
            "v1.12.0",
            "v1.11.1",
            "v1.10.0",
            "v1.9.7",
            "v1.9.6",
            "v1.9.5",
            "v1.9.4",
            "v1.9.3",
            "v1.9.2",
            "v1.9.1",
            "v1.9.0",
            "v1.8.2",
            "v1.8.1",
            "v1.8.0",
            "v1.7.3",
            "v1.7.2",
            "v1.7.1",
            "v1.6.2",
            "v1.6.0",
            "v1.3.0",
            "v1.5.0",
            "v1.4.0",
            "v1.2.0",
            "v1.1.0",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0",
            "v0.16.0",
            "v0.15.4",
            "v0.15.2",
            "v0.15.1",
            "v0.15.0",
            "v0.14.2",
            "v0.14.1",
            "v0.14.0",
            "v0.13.2",
            "v0.11.3",
            "v0.13.1",
            "v0.12.0",
            "v0.13.0",
            "v0.11.2",
            "0.11.1",
            "v0.11.0",
            "v0.10.1",
            "v0.10.0",
            "v0.9.2",
            "v0.9.1",
            "v0.9.0",
            "v0.8.4",
            "v0.8.3",
            "v0.8.2",
            "v0.8.1",
            "v0.8.0",
            "v0.7.0",
            "v0.1.3",
            "v0.1.2",
            "v0.1.1",
            "v0.1.0",
            "v0.0.6",
            "v0.0.5",
            "v0.0.4",
            "v0.0.3",
            "v0.0.2",
            "v0.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-16013.json"
          }
        }
      ],
      "modified": "2026-10-20T10:48:15.519633Z",
      "provider": "osv",
      "references": [
        "https://github.com/hapijs/hapi/issues/3466",
        "https://nodesecurity.io/advisories/335"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-16013",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380201,
  "published_at": "2018-06-04T19:29:00.88+00:00"
}