# GHSA-66mv-xh68-h6v2: Denial of Service in @commercial/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:53.000Z
- Modified: 2020-08-31T19:00:58.000Z

## Description

Affected versions of `@commercial/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.


## Recommendation

Upgrade to versions 16.8.2, 17.9.2, 18.4.1, 19.1.1 or later.

(As written by GitHub Advisory Database.)

## Affected

- @commercial/hapi (npm): before 16.8.2; from 17.0.0 before 17.9.2; from 18.0.0 before 18.4.1; from 19.0.0 before 19.1.1

## References

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

## Sources

- GitHub Advisory Database: [GHSA-66mv-xh68-h6v2](https://github.com/advisories/GHSA-66mv-xh68-h6v2), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-66mv-xh68-h6v2 · Whole record: https://cve.day/GHSA-66mv-xh68-h6v2.json · Rebuilt by cve.day 2026-11-25T22:56:44.313Z
