VYPR

Undici

by Node.js

npm: undici

Source repositories

CVEs (35)

  • CVE-2026-9675HigJun 17, 2026
    risk 0.49cvss 7.5epss 0.00

    Impact: The undici WebSocket client enforces maxPayloadSize per-frame but does not enforce the cumulative size of fragmented uncompressed messages. A malicious WebSocket server can stream many small fragments that each pass per-frame validation but collectively exceed the…

  • CVE-2026-9697HigJun 17, 2026
    risk 0.48cvss 7.4epss 0.00

    Impact: undici's ProxyAgent silently drops the requestTls option when configured with a SOCKS5 proxy URI (socks5:// or socks://). The target HTTPS connection through the SOCKS5 tunnel falls back to Node's default trust store, ignoring user-configured ca, cert, key,…

  • CVE-2026-6734HigJun 17, 2026
    risk 0.42cvss 7.5epss 0.00

    Impact: When using Socks5ProxyAgent, undici reuses a single connection pool across different origins without verifying that the pool's origin matches the requested origin. All requests are dispatched through the pool connected to the first origin, regardless of the intended…

  • CVE-2026-12151HigJun 17, 2026
    risk 0.42cvss 7.5epss 0.01

    Impact: The undici WebSocket client enforces maxPayloadSize on the cumulative byte count of fragments in a message but does not enforce a limit on the number of fragments. A malicious WebSocket server can stream many small or empty continuation frames that each pass per-frame…

  • CVE-2026-2229HigMar 12, 2026
    risk 0.42cvss 7.5epss 0.01

    ImpactThe undici WebSocket client is vulnerable to a denial-of-service attack due to improper validation of the server_max_window_bits parameter in the permessage-deflate extension. When a WebSocket client connects to a server, it automatically advertises support for…

  • CVE-2026-1528HigMar 12, 2026
    risk 0.42cvss 7.5epss 0.00

    ImpactA server can reply with a WebSocket frame using the 64-bit length form and an extremely large length. undici's ByteParser overflows internal math, ends up in an invalid state, and throws a fatal TypeError that terminates the process. Patches Patched in the undici version…

  • CVE-2026-1526HigMar 12, 2026
    risk 0.42cvss 7.5epss 0.01

    The undici WebSocket client is vulnerable to a denial-of-service attack via unbounded memory consumption during permessage-deflate decompression. When a WebSocket connection negotiates the permessage-deflate extension, the client decompresses incoming compressed frames without…

  • CVE-2023-24807HigFeb 16, 2023
    risk 0.42cvss 7.5epss 0.01

    Undici is an HTTP/1.1 client for Node.js. Prior to version 5.19.1, the `Headers.set()` and `Headers.append()` methods are vulnerable to Regular Expression Denial of Service (ReDoS) attacks when untrusted values are passed into the functions. This is due to the inefficient…

  • CVE-2022-32210MedJul 14, 2022
    risk 0.42cvss 6.5epss 0.00

    `Undici.ProxyAgent` never verifies the remote server's certificate, and always exposes all request & response data to the proxy. This unexpectedly means that proxies can MitM all HTTPS traffic, and if the proxy's URL is HTTP then it also means that nominally HTTPS requests are…

  • CVE-2026-13697HigJul 29, 2026
    risk 0.41cvss 7.4epss 0.00

    undici's cache interceptor mishandles malformed Cache-Control private directives. In undici 7.0.0 up to before 7.29.0 and 8.0.0 up to before 8.9.0, a response carrying a degenerate qualified private directive, such as private set to an empty value, can be stored in the default…

  • CVE-2026-9678MedJun 17, 2026
    risk 0.38cvss 5.9epss 0.00

    Impact: Undici's cache interceptor incorrectly classifies some responses as cacheable when the upstream Cache-Control header uses whitespace-padded qualified private or no-cache field names such as private=" authorization" or no-cache="\tauthorization". The parser preserves the…

  • CVE-2025-22150MedJan 21, 2025
    risk 0.37cvss 6.8epss 0.01

    Undici is an HTTP/1.1 client. Starting in version 4.5.0 and prior to versions 5.28.5, 6.21.1, and 7.2.3, undici uses `Math.random()` to choose the boundary for a multipart/form-data request. It is known that the output of `Math.random()` can be predicted if several of its…

  • CVE-2026-1525MedMar 12, 2026
    risk 0.35cvss 6.5epss 0.00

    Undici allows duplicate HTTP Content-Length headers when they are provided in an array with case-variant names (e.g., Content-Length and content-length). This produces malformed HTTP/1.1 requests with multiple conflicting Content-Length values on the wire. Who is…

  • CVE-2024-24750MedFeb 16, 2024
    risk 0.35cvss 6.5epss 0.01

    Undici is an HTTP/1.1 client, written from scratch for Node.js. In affected versions calling `fetch(url)` and not consuming the incoming body ((or consuming it very slowing) will lead to a memory leak. This issue has been addressed in version 6.6.1. Users are advised to upgrade.…

  • CVE-2023-23936MedFeb 16, 2023
    risk 0.35cvss 6.5epss 0.01

    Undici is an HTTP/1.1 client for Node.js. Starting with version 2.0.0 and prior to version 5.19.1, the undici library does not protect `host` HTTP header from CRLF injection vulnerabilities. This issue is patched in Undici v5.19.1. As a workaround, sanitize the `headers.host`…

  • CVE-2026-14643MedJul 29, 2026
    risk 0.31cvss 5.9epss 0.00

    undici's cache interceptor mishandles optional whitespace placed around the equals sign of a qualified no-cache or private Cache-Control directive. In undici from 7.0.0 up to before 7.29.0 and from 8.0.0 up to before 8.9.0, the parser either drops the directive or stores a field…

  • CVE-2026-9679MedJun 17, 2026
    risk 0.31cvss 5.9epss 0.00

    Impact: undici's cookie parser in parseSetCookie percent-decodes cookie values via qsUnescape, turning encoded sequences like %0D%0A, %00, %3B, and %3D into their literal byte equivalents. RFC 6265 §5.4 does not specify any decoding and browsers do not decode either. …

  • CVE-2026-2581MedMar 12, 2026
    risk 0.31cvss 5.9epss 0.01

    This is an uncontrolled resource consumption vulnerability (CWE-400) that can lead to Denial of Service (DoS). In vulnerable Undici versions, when interceptors.deduplicate() is enabled, response data for deduplicated requests could be accumulated in memory for downstream…

  • CVE-2026-22036MedJan 14, 2026
    risk 0.31cvss 5.9epss 0.00

    Undici is an HTTP/1.1 client for Node.js. Prior to 7.18.0 and 6.23.0, the number of links in the decompression chain is unbounded and the default maxHeaderSize allows a malicious server to insert thousands compression steps leading to high CPU usage and excessive memory…

  • CVE-2022-35948MedAug 15, 2022
    risk 0.28cvss 5.3epss 0.02

    undici is an HTTP/1.1 client, written from scratch for Node.js.`=< [email protected]` users are vulnerable to _CRLF Injection_ on headers when using unsanitized input as request headers, more specifically, inside the `content-type` header. Example: ``` import { request } from…

Page 1 of 2