Katalog CVE

CVE-2026-110095

NiskieCVSS 3.7
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.23%

Percentyl 13 - wyżej niż 13% wszystkich znanych CVE

Streszczenie

W bibliotece fast-uri (parser URI dla Node.js) w wersjach przed 2.4.8, 3.0.0–3.1.8 i 4.0.0–4.2.2 funkcje normalize() i serialize() stosują usuwanie segmentów kropkowych RFC 3986 do ścieżki względnego odwołania, mimo że algorytm ten jest zdefiniowany tylko dla docelowej ścieżki podczas rozwiązywania. W rezultacie wiodący segment katalogu nadrzędnego może zostać usunięty, a odwołanie względne dokumentu może stać się względne wobec katalogu głównego.

Ocena ryzyka

Aplikacja normalizująca niezaufane odwołanie i używająca go jako klucza pamięci podręcznej, deduplikacji lub autoryzacji może pozwolić na ucieczkę poza zamierzony katalog i dostęp do innego zasobu.

Rekomendacja

Zaktualizuj fast-uri do wersji 2.4.8, 3.1.9 lub 4.2.3 bądź nowszej; jako obejście najpierw rozwiąż odwołanie względem absolutnej bazy i normalizuj wynik absolutny.

Inne podatności w fast-uri

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

fast-uri is a dependency-free RFC 3986 URI parser and serializer for Node.js. In versions before 2.4.8, from 3.0.0 through 3.1.8, and from 4.0.0 through 4.2.2, the normalize() and serialize() functions apply RFC 3986 dot-segment removal to the path of a relative-path reference, even though that algorithm is defined only for the merged target path during resolution, so a leading parent-directory segment can be dropped and a document-relative reference can become root-relative. An application that normalizes an attacker-supplied or user-supplied relative reference and then resolves it, or uses it as a cache, deduplication, or authorization key, can have the reference escape its intended directory and point at a different resource. The issue is fixed in fast-uri 2.4.8, 3.1.9, and 4.2.3, and users should upgrade to one of these versions or later. As a workaround, resolve a relative reference against its absolute base first and normalize the absolute result instead of normalizing the reference beforehand.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS