decode-uri-component

decode-uri-component

Releases8
Frequency1 year 3 months
Last Release
A better decodeURIComponent

CVE History

CVEAffectedPublishedCVSS v3CVSS v2

decode-uri-component through 0.4.1 is vulnerable to denial of service. The decode() function splits input on '%' producing N tokens and calls decodeComponents(), exhibiting super-linear parsing time: 200 '%ab' tokens takes approximately 0.7s, 700 tokens approximately 6s, and 1400 tokens approximately 33s. An attacker can cause significant CPU consumption and event-loop blocking via crafted input.

< 0.2.16.5 MEDIUM

A flaw (CVE-2022-38900) was discovered in one of Kibana’s third party dependencies, that could allow an authenticated user to perform a request that crashes the Kibana server process.

= 0.2.0, < 0.2.17.5 HIGH

decode-uri-component 0.2.0 is vulnerable to Improper Input Validation resulting in DoS.