Skip to content
OpenAdvisories

Weakness (CWE)

CWE-67: Improper Handling of Windows Device Names

Variant Incomplete

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.

How to prevent it (1 mitigation)
  1. Implementation

    Be familiar with the device names in the operating system where your system is deployed. Check input for these device names.

Source: MITRE CWE-67

1 result · Clear filters · Feed

  • Low 2.3

    Wasmtime doesn't fully sandbox all the Windows device filenames

    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 the special device f…