GHSA-8494-f6mr-cjpv: @hapi/content: quadratic-time parsing of Content-Disposition parameters allows denial of service
Source: github.com
Content.disposition() takes quadratic time when a Content-Disposition parameter contains a long token without =. One unauthenticated multipart request can block the Node.js event loop for several minutes. Details Content.disposition() reads the parameters with a global regular expression in String.prototype.replace(): ``js /([^\=\*\s]+)(\*)?\s*\=\s*(?:([^;'"\s]+\'[\w-]*\'[^;\s]+)|(?:\"([^"]*)\")|([^;\s]*))/g ` The parameter name part ([^\=\*\s]+) has no anchor. When a run of name characters has no =` after it, the match attempt reads the full run and fails. …
Signalsas the pipeline stamped them
High High-risk vulnerability — CVSS 7.5
CVEKEV and EPSS where known
Get the next one first
Every story goes to Telegram and RSS the moment it is published, and the whole wire is a keyless JSON API.