A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
decode-uri-component provides a more robust alternative to decodeURIComponent. Prior to 0.5.1, decodeUriComponent in index.js falls back to customDecodeURIComponent after native decoding throws, and the fallback collects every distinct percent-encoded run before performing a full-string regular-expression replacement for each entry. Malformed input containing many distinct runs can therefore make both the number of replacements and the scanned input length grow together, causing quadratic CPU consumption and blocking the Node.js event loop; request-body inputs can reach the demonstrated size, while ordinary URL header limits reduce the practical delay. This issue is fixed in version 0.5.1.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /SamVerschueren/decode-uri-component/commit/fad01d65b93bd3f…
- github.com /SamVerschueren/decode-uri-component/releases/tag/v0.5.1
- github.com /SamVerschueren/decode-uri-component/security/advisories/GH…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning