{"id":"GHSA-23vw-mhv5-grv5","aliases":["GHSA-23vw-mhv5-grv5"],"related":[],"kind":"vulnerability","state":"published","title":"Denial of Service in @hapi/hapi","summary":"Versions of `@hapi/hapi` prior to 18.4.1 or 19.1.1 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\nUpgrade to versions 18.4.1, 19.1.1 or later.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Versions of `@hapi/hapi` prior to 18.4.1 or 19.1.1 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\nUpgrade to versions 18.4.1, 19.1.1 or later.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T15:48:43.000Z","modified":"2020-08-31T19:00:56.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"18.4.1"}],"ecosystem":"npm","package":"@hapi/hapi","purl":"pkg:npm/%40hapi/hapi","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"19.0.0","status":"affected","fixed":"19.1.1"}],"ecosystem":"npm","package":"@hapi/hapi","purl":"pkg:npm/%40hapi/hapi","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/1482","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-23vw-mhv5-grv5","url":"https://github.com/advisories/GHSA-23vw-mhv5-grv5","licence":"CC-BY-4.0","modified":"2020-08-31T19:00:56.000Z"}],"updatedAt":"2026-11-25T22:56:43.547Z"}