Skip to content
OpenAdvisories

Weakness (CWE)

CWE-908: Use of Uninitialized Resource

Base Incomplete

The product uses or accesses a resource that has not been initialized.

How to prevent it (4 mitigations)
  1. Implementation

    Explicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all required steps.

  2. Implementation

    Pay close attention to complex conditionals that affect initialization, since some branches might not perform the initialization.

  3. Implementation

    Avoid race conditions (CWE-362) during initialization routines.

  4. Build and Compilation

    Run or compile the product with settings that generate warnings about uninitialized variables or data.

Source: MITRE CWE-908

155 results · Clear filters · Feed

  • High 7.5

    Windows Deployment Services Information Disclosure Vulnerability

    Windows Deployment Services Information Disclosure Vulnerability

  • High 7.8

    Windows Setup Files Cleanup Remote Code Execution Vulnerability

    Windows Setup Files Cleanup Remote Code Execution Vulnerability

  • High 7.5

    Windows Print Spooler Information Disclosure Vulnerability

    Windows Print Spooler Information Disclosure Vulnerability

  • High 7.8

    iSCSI Target WMI Provider Remote Code Execution Vulnerability

    iSCSI Target WMI Provider Remote Code Execution Vulnerability

  • High 7.5

    Junos OS and Junos OS Evolved: An attacker sending genuine BGP packets causes an RPD crash

    A Use of Uninitialized Resource vulnerability in the Border Gateway Protocol (BGP) software of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated network-based attacker to send specific genuine BGP packets to a device configured with BGP…

  • High 8.8

    Microsoft PostScript and PCL6 Class Printer Driver Remote Code Execution Vulnerability

    Microsoft PostScript and PCL6 Class Printer Driver Remote Code Execution Vulnerability

  • High 7.5

    OpenSIPS has vulnerability in the parse_via() function

    OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.7 and 3.2.4, sending a malformed `Via` header to OpenSIPS triggers a segmentation fault when the function `calc_tag_suffix` is called. A specially crafted `Via` heade…

  • High 8.8

    Microsoft PostScript and PCL6 Class Printer Driver Remote Code Execution Vulnerability

    Microsoft PostScript and PCL6 Class Printer Driver Remote Code Execution Vulnerability

  • High 7.7

    Moby HyperKit uninitialized memory use vtrnd pci_vtrnd_notify

    HyperKit is a toolkit for embedding hypervisor capabilities in an application. In versions 0.20210107 and prior of HyperKit, the implementation of `qnotify` at `pci_vtrnd_notify` fails to check the return value of `vq_getchain`. This leads to `struct iovec io…

  • High 7.7

    Moby HyperKit uninitialized memory use in virtio-sock pci_vtsock_proc_tx

    HyperKit is a toolkit for embedding hypervisor capabilities in an application. In versions 0.20210107, function `pci_vtsock_proc_tx` in `virtio-sock` can lead to to uninitialized memory use. In this situation, there is a check for the return value to be less …

  • High 7.5

    BIG-IP AFM vulnerability

    On versions 17.0.x before 17.0.0.2, 16.1.x before 16.1.3.3, 15.1.x before 15.1.8, 14.1.x before 14.1.5.3, and all versions of 13.1.x, when a BIG-IP AFM NAT policy with a destination NAT rule is configured on a FastL4 virtual server, undisclosed traffic can ca…

  • High 7.5

    Use of uninitialized variable in function gen_eth_recv in GNS3 dynamips 0.2.21.

  • High 8.8

    A crafted CMS message could have been processed incorrectly, leading to an invalid memory read, and potentially further…

  • High 7.8

    Altair HyperView Player versions 2021.1.0.27 and prior are vulnerable to the use of uninitialized memory vulnerability …

  • High 7.8

    Altair HyperView Player versions 2021.1.0.27 and prior are vulnerable to the use of uninitialized memory vulnerability …

  • High 8.1

    Uninitialized memory read in LZ4 decompression leads to authentication bypass in Scylla

    Scylla is a real-time big data database that is API-compatible with Apache Cassandra and Amazon DynamoDB. When decompressing CQL frame received from user, Scylla assumes that user-provided uncompressed length is correct. If user provides fake length, that is …

  • High 7.5

    Denial of Service (DoS)

    All versions of package @discordjs/opus are vulnerable to Denial of Service (DoS) when trying to encode using an encoder with zero channels, or a non-initialized buffer. This leads to a hard crash.

  • High 7.6

    Uninitialized variable access in Tensorflow

    Tensorflow is an Open Source Machine Learning Framework. The implementation of `AssignOp` can result in copying uninitialized data to a new tensor. This later results in undefined behavior. The implementation has a check that the left hand side of the assignm…

  • High 7.4
    CVE-2021-43848 Public exploit

    Unititialized memory access in h2o

    h2o is an open source http server. In code prior to the `8c0eca3` commit h2o may attempt to access uninitialized memory. When receiving QUIC frames in certain order, HTTP/3 server-side implementation of h2o can be misguided to treat uninitialized memory as HT…

  • High 7.5

    Missing Initialization of Resource in pnet

    An issue was discovered in the pnet crate before 0.27.2 for Rust. There is a segmentation fault (upon attempted dereference of an uninitialized descriptor) because of an erroneous IcmpTransportChannelIterator compiler optimization.

  • High 7.5

    `read` on uninitialized buffer may cause UB (bite::read::BiteReadExpandedExt::read_framed_max)

    An issue was discovered in the bite crate through 2020-12-31 for Rust. read::BiteReadExpandedExt::read_framed_max may read from uninitialized memory locations.

  • High 7.5

    Window may read from uninitialized memory locations in rdiff

    An issue was discovered in the rdiff crate through 2021-02-03 for Rust. Window may read from uninitialized memory locations.

  • High 7.5

    Use of Uninitialized Resource in smallvec

    An issue was discovered in the smallvec crate before 0.6.13 for Rust. It can create an uninitialized value of any type, including a reference type.

  • High 7.7

    Remote Memory Exposure

    This affects the package dns-packet before 5.2.2. It creates buffers with allocUnsafe and does not always fill them before forming network packets. This can expose internal application memory over unencrypted network when querying crafted invalid domain names.

  • High 7.5

    Use of uninitialized buffer in rkyv

    An issue was discovered in the rkyv crate before 0.6.0 for Rust. When an archive is created via serialization, the archive content may contain uninitialized values of certain parts of a struct.

  • High 7.5

    Use of Uninitialized Resource in truetype

    An issue was discovered in the truetype crate before 0.30.1 for Rust. Attackers can read the contents of uninitialized memory locations via a user-provided Read operation within Tape::take_bytes.

  • High 7.5

    Use of Uninitialized Resource in ms3d

    An issue was discovered in the ms3d crate before 0.1.3 for Rust. It might allow attackers to obtain sensitive information from uninitialized memory locations via IoReader::read.

  • High 7.5

    Read on uninitialized buffer in postscript

    An issue was discovered in the postscript crate before 0.14.0 for Rust. It might allow attackers to obtain sensitive information from uninitialized memory locations via a user-provided Read implementation.

  • High 7.5

    Uninitialized buffer use in marc

    An issue was discovered in the marc crate before 2.0.0 for Rust. A user-provided Read implementation can gain access to the old contents of newly allocated memory, violating soundness.

  • High 7.8

    Free of uninitialized memory in autorand

    An issue was discovered in the autorand crate before 0.2.3 for Rust. Because of impl Random on arrays, uninitialized memory can be dropped when a panic occurs, leading to memory corruption.

  • High 7.1

    Memory corruption in Tensorflow

    In Tensorflow before versions 2.2.1 and 2.3.1, the implementation of `dlpack.to_dlpack` can be made to use uninitialized memory resulting in further memory corruption. This is because the pybind11 glue code assumes that the argument is a tensor. However, ther…

  • High 7.5

    Nokogiri affected by libxslt Use of Uninitialized Resource/Use After Free vulnerability

    In xsltCopyText in transform.c in libxslt 1.1.33, a pointer variable isn't reset under certain circumstances. If the relevant memory area happened to be freed and reused in a certain way, a bounds check could fail and memory outside a buffer could be written …

  • High 7.5

    Uninitialized memory use in generator

    An issue was discovered in the generator crate before 0.6.18 for Rust. Uninitialized memory is used by Scope, done, and yield_ during API calls.

  • High 7.5

    Exposure of uninitialized memory in memoffset

    An issue was discovered in the memoffset crate before 0.5.0 for Rust. offset_of and span_of can cause exposure of uninitialized memory.

  • High 8.1
    CVE-2009-1529 EPSS 29%

    Microsoft Internet Explorer 7 for Windows XP SP2 and SP3; 7 for Server 2003 SP2; 7 for Vista Gold, SP1, and SP2; and 7 …