{"id":"GHSA-7hx8-2rxv-66xv","aliases":["GHSA-7hx8-2rxv-66xv"],"related":[],"kind":"vulnerability","state":"published","title":"Denial of Service in hapi","summary":"All Versions of `hapi` are vulnerable to Denial of Service. The CORS request handler has a vulnerability which will cause the function to throw a system error if the header contains some invalid values. If no unhandled exception handler is available, the application will exist, allowing an attacker to shut down services.\n\n\n## Recommendation\n\nThis package is deprecated and is now maintained as `@hapi/hapi`. Please update your dependencies to use `@hapi/hapi`.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"All Versions of `hapi` are vulnerable to Denial of Service. The CORS request handler has a vulnerability which will cause the function to throw a system error if the header contains some invalid values. If no unhandled exception handler is available, the application will exist, allowing an attacker to shut down services.\n\n\n## Recommendation\n\nThis package is deprecated and is now maintained as `@hapi/hapi`. Please update your dependencies to use `@hapi/hapi`.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T15:48:00.000Z","modified":"2020-08-31T19:00:54.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","status":"affected"}],"ecosystem":"npm","package":"hapi","purl":"pkg:npm/hapi","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/1481","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7hx8-2rxv-66xv","url":"https://github.com/advisories/GHSA-7hx8-2rxv-66xv","licence":"CC-BY-4.0","modified":"2020-08-31T19:00:54.000Z"}],"updatedAt":"2026-11-25T22:56:44.556Z"}