logo

GHSA-9vrw-m88g-w75q @hapi/accept

Package

Manager: npm
Name: @hapi/accept
Vulnerable Version: >=3.2.0 <3.2.4 || >=4.0.0 <5.0.1

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:U/RC:R

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

Denial of Service in @hapi/accept 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.

Metadata

Created: 2020-09-03T15:45:53Z
Modified: 2020-08-31T19:00:40Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-9vrw-m88g-w75q/GHSA-9vrw-m88g-w75q.json
CWE IDs: []
Alternative ID: N/A
Finding: F002
Auto approve: 1