Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| garycourt | uri-js | ≤ 4.4.1 | — |
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-uri-js | No fix yet | — |
| Debian 13 | node-uri-js | No fix yet | — |
| Debian 12 | node-uri-js | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-uri-js | No fix yet | — |
| Ubuntu 26.04 LTS | node-uri-js | No fix yet | — |
| Ubuntu 24.04 LTS | node-uri-js | No fix yet | — |
| Ubuntu 22.04 LTS | node-uri-js | No fix yet | — |
| Ubuntu 20.04 LTS | node-uri-js | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | js-jquery | No fix yet | — |
Advisories 1
- WID-SEC-2026-4056 Atlassian Produkte (Bamboo, Bitbucket, Confluence, Crucible, Fisheye und Jira): Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2026
References
- GitHub Issue #105 issue-tracking
- https://github.com/garycourt/uri-js product
- https://github.com/garycourt/uri-js/blob/4.4.0/src/uri.ts#L349 technical-description
- https://github.com/garycourt/uri-js/blob/4.4.0/src/uri.ts#L352-L376 technical-description
- https://www.npmjs.com/package/uri-js/v/4.4.1 product
- VulnCheck Advisory: uri-js through 4.4.1 Denial of Service via removeDotSegments third-party-advisory