Severity: high

Denial of Service



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.


This package is deprecated and is now maintained as @hapi/hapi. Please update your dependencies to use @hapi/hapi.

Have content suggestions? Send them to [email protected]

Advisory timeline

  1. published

    Advisory Published
    Feb 17th, 2020
  2. reported

    Reported by Eran Hammer
    Feb 17th, 2020