cve.bz

CWE-67: Improper Handling of Windows Device Names, published in 2024

Filter

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.

What the weakness is: CWE-67 at MITRE. All weaknesses

Ask an AI about CWE-67

Show the promptExplain CWE-67: Improper Handling of Windows Device Names and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/67.html and https://cve.bz/cve/cwe/67?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 2.3CVE-2024-51745bytecodealliance wasmtimeEPSS 1.2%

    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 on, however it did not block access to …

  2. 5.4CVE-2024-35197byron gitoxideEPSS 0.6%

    gitoxide is a pure Rust implementation of Git. On Windows, fetching refs that clash with legacy device names reads from the devices, and checking out paths that clash with such names writes arbitrary data to the devices. This allows a repo…