Description
@hapi/content provided HTTP Content-* headers parsing. All versions of @hapi/content through 6.0.0 are vulnerable to Regular Expression Denial of Service (ReDoS) via crafted HTTP header values. Three regular expressions used to parse Content-Type and Content-Disposition headers contain patterns susceptible to catastrophic backtracking. This vulnerability is fixed in 6.0.1.
Problem types
CWE-1333: Inefficient Regular Expression Complexity
Product status
References
github.com/...ontent/security/advisories/GHSA-jg4p-7fhp-p32p
github.com/hapijs/content/pull/38