# GHSA-23vw-mhv5-grv5: Denial of Service in @hapi/hapi

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T15:48:43.000Z
- Modified: 2020-08-31T19:00:56.000Z

## Description

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.


## Recommendation

Upgrade to versions 18.4.1, 19.1.1 or later.

(As written by GitHub Advisory Database.)

## Affected

- @hapi/hapi (npm): before 18.4.1; from 19.0.0 before 19.1.1

## References

- <https://www.npmjs.com/advisories/1482> (web)

## Sources

- GitHub Advisory Database: [GHSA-23vw-mhv5-grv5](https://github.com/advisories/GHSA-23vw-mhv5-grv5), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-23vw-mhv5-grv5 · Whole record: https://cve.day/GHSA-23vw-mhv5-grv5.json · Rebuilt by cve.day 2026-11-25T22:56:43.547Z
