7.5Yüksek

CVE-2026-75899fast-uri vulnerable to server-side request forgery via repeated hostname percent-decoding

fast-uri fast-uri Yayım: (2 ay önce)

Açıklama

fast-uri is a URI parser for Node.js. It decodes percent escapes in a hostname during parsing and then decodes the parsed hostname a second time during authority recomposition, so a single call to normalize or resolve can turn nested percent-encoded input into a different network destination such as a loopback hostname or address. For example, a doubly encoded host that spells out a loopback name decodes to that live host in one operation, which contradicts RFC 3986 section 2.4 that an implementation must not decode the same string more than once. An application that normalizes or resolves an untrusted HTTP-family URI before outbound routing, redirect validation, or a host-policy check can receive a destination different from the one the original encoded host represented, giving a server-side request forgery and host-policy bypass primitive. This is an incomplete-fix variant of CVE-2026-6322. The affected versions are 2.4.1 up to but not including 2.4.5, 3.1.2 up to but not including 3.1.6, and 4.0.0 up to but not including 4.1.3. The issue is fixed in 2.4.5, 3.1.6, and 4.1.3, which normalize percent escapes once and preserve encoded percent signs. Users should upgrade to a patched version.

Zayıflık türü (CWE): CWE-174CWE-918

Veri: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Bilgiler kaynaktaki haliyle, İngilizce yayımlanır.

Etkilenen ürünler ve sürümler

ÜreticiÜrünSürümler
fast-uri fast-uri 2.4.1 – < 2.4.5, fixed 2.4.5, 3.1.2 – < 3.1.6, fixed 3.1.6, 4.0.0 – < 4.1.3, fixed 4.1.3
openjsf fast-uri 2.4.1 – < 2.4.5

Kaynaklar ve yamalar

CPE eşleşmeleri (NVD) (3)

  • cpe:2.3:a:openjsf:fast-uri:*:*:*:*:*:node.js:*:* ≥ 2.4.1 < 2.4.5
  • cpe:2.3:a:openjsf:fast-uri:*:*:*:*:*:node.js:*:* ≥ 3.1.2 < 3.1.6
  • cpe:2.3:a:openjsf:fast-uri:*:*:*:*:*:node.js:*:* ≥ 4.0.0 < 4.1.3