uri-js through 4.4.1 Denial of Service via removeDotSegments
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.7epss 0.5%
exploitation probability
0.5%top 61% of all CVEs
observed exploitation
nono source reports it
uri-js through 4.4.1 contains a denial of service vulnerability in the removeDotSegments function that loops infinitely when a path segment begins with Unicode line or paragraph separators. Attackers can trigger this by calling removeDotSegments directly or through normalize/resolve functions with IRI handling enabled, causing the Node.js event loop to block indefinitely until heap exhaustion.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Affected products
garycourt · uri-jsReferences
https://github.com/garycourt/uri-jshttps://github.com/garycourt/uri-js/blob/4.4.0/src/uri.ts#L349https://github.com/garycourt/uri-js/blob/4.4.0/src/uri.ts#L352-L376https://github.com/garycourt/uri-js/issues/105https://www.npmjs.com/package/uri-js/v/4.4.1https://www.vulncheck.com/advisories/uri-js-through-4.4.1-denial-of-service-via-removedotsegments