# GHSA-9vrw-m88g-w75q: Denial of Service in @hapi/accept

- 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:45:53.000Z
- Modified: 2020-08-31T19:00:40.000Z

## Description

Versions of `@hapi/accept` prior to 3.2.4 or 5.0.1 are vulnerable to Denial of Service. The Accept-Encoding HTTP header parser has a vulnerability which will cause the function to throw a system error if the header contains some invalid values. Because hapi rethrows system errors (as opposed to catching expected application errors), the error is thrown all the way up the stack. If no unhandled exception handler is available, the application will exist, allowing an attacker to shut down services.


## Recommendation

Upgrade to version 3.2.4 or 5.0.1.

(As written by GitHub Advisory Database.)

## Affected

- @hapi/accept (npm): from 3.2.0 before 3.2.4; from 4.0.0 before 5.0.1

## References

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

## Sources

- GitHub Advisory Database: [GHSA-9vrw-m88g-w75q](https://github.com/advisories/GHSA-9vrw-m88g-w75q), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-9vrw-m88g-w75q · Whole record: https://cve.day/GHSA-9vrw-m88g-w75q.json · Rebuilt by cve.day 2026-11-25T22:56:44.981Z
