ghsa-5854-jvxx-2cg9
Vulnerability from github
Published
2020-09-03 15:46
Modified
2025-09-29 20:49
Summary
Denial of Service in content
Details
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
.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "content" }, "ranges": [ { "events": [ { "introduced": "0" }, { "last_affected": "4.0.6" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [], "database_specific": { "cwe_ids": [], "github_reviewed": true, "github_reviewed_at": "2020-08-31T19:00:47Z", "nvd_published_at": null, "severity": "HIGH" }, "details": "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.\n\n## Recommendation\n\nThis package is deprecated and is now maintained as `@hapi/content`. Please update your dependencies to use `@hapi/content`.", "id": "GHSA-5854-jvxx-2cg9", "modified": "2025-09-29T20:49:54Z", "published": "2020-09-03T15:46:57Z", "references": [ { "type": "WEB", "url": "https://github.com/hapijs/content/compare/v4.1.0...v4.1.1" }, { "type": "PACKAGE", "url": "https://github.com/hapijs/subtext" }, { "type": "WEB", "url": "https://www.npmjs.com/advisories/1478" } ], "schema_version": "1.4.0", "severity": [], "summary": "Denial of Service in content" }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.