GHSA-5854-jvxx-2cg9 Denial of Service in content
- Published
- Updated
- Exploit status
- No public exploit known
Description
Versions of content are vulnerable to Denial of Service. The Content-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
This package is deprecated and is now maintained as @hapi/content. Please update your dependencies to use @hapi/content.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm content(npm) | <= 4.0.6 | after 4.0.6 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm content(npm) | <= 4.0.6 | No fix listed |
References
- www.npmjs.com
- github.com
- github.com
- github.com product