Skip to content
OpenAdvisories

Description

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.

Affected products

VendorProductAffectedFixed
SamVerschueren decode-uri-component 0.1.0 – < 0.5.0 0.5.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-source-map-resolve No fix yet —
Ubuntu 26.04 LTS node-source-map-resolve No fix yet —
Ubuntu 25.10 node-source-map-resolve No fix yet —
Ubuntu 24.04 LTS node-source-map-resolve No fix yet —
Ubuntu 22.04 LTS node-source-map-resolve No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 js-jquery No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling kubeflow-pipelines-apiserver +1 2.17.2-r4 —
Wolfi rolling kubeflow-pipelines-frontend 2.17.2-r2 —
Wolfi rolling nextcloud-server-33 33.0.8-r3 —
Wolfi rolling opensearch-dashboards-3-alerting-dashboards-plugin 3.8.0-r3 —
Wolfi rolling sqlpad 7.5.7-r34 —
Wolfi rolling vitess-23 23.0.6-r3 —
Wolfi rolling vitess-24 24.0.2-r17 —
Wolfi rolling vitess-24-compat 24.0.3-r7 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm decode-uri-component < 0.5.0 0.5.0 GHSA-vcc3-ghjq-m6fr

References