Sårbarheter

CWE-67: Improper Handling of Windows Device Names

Svakhetstype fra CWE-katalogen (versjon 4.21)

Hva svakheten betyr

The product constructs pathnames from user input, but it does not handle or incorrectly handles a pathname containing a Windows device name such as AUX or CON. This typically leads to denial of service or an information exposure when the application attempts to process the pathname as a regular file.

Definisjonen gjengis slik MITRE har publisert den, på engelsk.

5 sårbarheter i tjenesten peker på denne svakheten

  1. CVE-2024-51745 Kritisk 10.0

    Wasmtime is a fast and secure runtime for WebAssembly. Wasmtime's filesystem sandbox implementation on Windows blocks access to special device filenames such as "COM1", "COM2", "LPT0", "LPT1", and so…

  2. CVE-2026-17545 Høy 7.5

    On Windows, PHP's filesystem and stream APIs do not reject reserved device names such as CON, PRN, AUX, NUL, COM1 to COM9, LPT1 to LPT9, CONIN$ and CONOUT$ when they appear as a component of a path. …

  3. CVE-2026-27199 Middels 5.3

    Werkzeug is a comprehensive WSGI web application library. Versions 3.1.5 and below, the safe_join function allows Windows device names as filenames if preceded by other path segments. This was previo…

  4. CVE-2026-21860 Middels 5.3

    Werkzeug is a comprehensive WSGI web application library. Prior to version 3.1.5, Werkzeug's safe_join function allows path segments with Windows device names that have file extensions or trailing sp…

  5. CVE-2025-66221 Middels 5.3

    Werkzeug is a comprehensive WSGI web application library. Prior to version 3.1.4, Werkzeug's safe_join function allows path segments with Windows device names. On Windows, there are special device na…