# GHSA-66MV-XH68-H6V2: Denial of Service in @commercial/hapi

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2020-09-03
- Modified: 2020-08-31

## Affected versions

- @commercial/hapi (npm): fixed in 16.8.2
- @commercial/hapi (npm): from 17.0.0, fixed in 17.9.2
- @commercial/hapi (npm): from 18.0.0, fixed in 18.4.1
- @commercial/hapi (npm): from 19.0.0, fixed in 19.1.1

## 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.

## References

- https://www.npmjs.com/advisories/1483

Page: https://cve.now/GHSA-66MV-XH68-H6V2

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
