@hapi/accept
Affected
- introduced
3.2.0, fixed3.2.4(semver)
Fixed versions
3.2.4
Fix
- Fixed version
3.2.4npm install @hapi/[email protected]
Advisory
Also known as: None
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.
High Basis: The source's own band: HIGH
3.2.0, fixed 3.2.4 (semver)3.2.4
3.2.4npm install @hapi/[email protected]4.0.0, fixed 5.0.1 (semver)5.0.1
5.0.1npm install @hapi/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0