Skip to content
OpenAdvisories

Weakness (CWE)

CWE-665: Improper Initialization

Class Draft Mapping discouraged

The product does not initialize or incorrectly initializes a resource.

How to prevent it (6 mitigations)
  1. Requirements

    Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.

    For example, in Java, if the programmer does not explicitly initialize a variable, then the code could produce a compile-time error (if the variable is local) or automatically initialize the variable to the default value for the variable's type. In Perl, if explicit initialization is not performed, then a default value of undef is assigned, which is interpreted as 0, false, or an equivalent value depending on the context in which the variable is accessed.

  2. Architecture and Design

    Identify all variables and data stores that receive information from external sources, and apply input validation to make sure that they are only initialized to expected values.

  3. Implementation

    Explicitly initialize all your variables and other data stores, either during declaration or just before the first usage.

  4. Implementation

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

  5. Implementation

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

  6. Build and Compilation

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

Source: MITRE CWE-665

178 results · Feed

  • High 8.4

    Run copy with container in a malicious directory may cause container escaping

    When the isula cp command is used to copy files from a container to a host machine and the container is controlled by an attacker, the attacker can escape the container.

  • High 8.4

    Export container in a malicious directory may cause process to be hijacked

    When the isula export command is used to export a container to an image and the container is controlled by an attacker, the attacker can escape the container.

  • High 8.4

    Load malicious images may cause process to be hijacked

    When the isula load command is used to load malicious images, attackers can execute arbitrary code.

  • Critical 9.8

    Pull malicious images may cause process to be hijacked

    When malicious images are pulled by isula pull, attackers can execute arbitrary code.

  • Medium 6.3

    Malicious image running containers may cause DoS attacks

    iSulad uses the lcr+lxc runtime (default) to run malicious images, which can cause DOS.

  • Unscored —

    arm64 boot CPUs may lack speculative execution protections

    On CPU 0 the check for the SMCCC workaround is called before SMCCC support has been initialized. This resulted in no speculative execution workarounds being installed on CPU 0.

  • High 7.0

    Splunk Enterprise on Windows Privilege Escalation due to Insecure OPENSSLDIR Build Definition Reference in DLL

    In Splunk Enterprise versions earlier than 8.2.12, 9.0.6, and 9.1.1, a dynamic link library (DLL) that ships with Splunk Enterprise references an insecure path for the OPENSSLDIR build definition. An attacker can abuse this reference and subsequently install …

  • Medium 6.5

    Jenkins Gogs Plugin vulnerable to unsafe default behavior and information disclosure

    Jenkins Gogs Plugin 1.0.15 and earlier improperly initializes an option to secure its webhook endpoint, allowing unauthenticated attackers to trigger builds of jobs.

  • Medium 6.0

    Improper initialization in some Intel(R) NUC BIOS firmware may allow a privileged user to potentially enable informatio…

  • Medium 6.0

    Improper initialization in some Intel(R) NUC 13 Extreme Compute Element, Intel(R) NUC 13 Extreme Kit, Intel(R) NUC 11 P…

  • Medium 6.1

    Improper initialization in BIOS firmware for some Intel(R) NUCs may allow a privileged user to potentially enable infor…

  • Medium 6.1

    Improper initialization in the BIOS firmware for some Intel(R) Processors may allow a privileged user to potentially en…

  • High 7.1

    Arbitrary File Overwrite using less command

    System files could be overwritten using the less command in Brocade Fabric OS before Brocade Fabric OS v9.1.1c and v9.2.0.

  • High 8.6

    Improper initialization implementation in Portmapper used in B&R Industrial Automation Automation Runtime <G4.93 allows…

  • Medium 5.3

    Improper sanitization of MXCSR and RFLAGS in OpenEnclave

    Open Enclave is a hardware-agnostic open source library for developing applications that utilize Hardware-based Trusted Execution Environments, also known as Enclaves. There are two issues that are mitigated in version 0.19.3. First, Open Enclave SDK does not…

  • Medium 4.0

    Improper initialization for some Intel(R) NUC BIOS firmware may allow a privileged user to potentially enable informati…

  • High 7.8

    A malicious actor may convince a victim to open a malicious USD file that may trigger an uninitialized variable which m…

  • High 7.5

    Some smartphones have data initialization issues. Successful exploitation of this vulnerability may cause a system pani…

  • Low 3.3

    A flaw was found in KVM. When calling the KVM_GET_DEBUGREGS ioctl, on 32-bit systems, there might be some uninitialized…

  • Low 3.7

    The armv8_dec_aes_gcm_full() API of Arm AArch64cryptolib before 86065c6 fails to the verify the authentication tag of A…

  • Medium 5.5

    WebAssembly v1.0.29 was discovered to contain a segmentation fault via the component wabt::cat_compute_size.

  • Medium 6.2

    MMS File Transfer Vulnerability impact on Distribution Automation products

    Improper Initialization vulnerability in ABB Relion protection relays - 611 series, ABB Relion protection relays - 615 series IEC 4.0 FP1, ABB Relion protection relays - 615 series CN 4.0 FP1, ABB Relion protection relays - 615 series IEC 5.0, ABB Relion prot…

  • Medium 5.3

    TechPowerUp Ryzen DRAM Calculator WinRing0x64.sys initialization

    A vulnerability, which was classified as critical, has been found in TechPowerUp Ryzen DRAM Calculator 1.2.0.5. This issue affects some unknown processing in the library WinRing0x64.sys. The manipulation leads to improper initialization. Local access is requi…

  • Medium 5.3

    TechPowerUp RealTemp WinRing0x64.sys initialization

    A vulnerability classified as critical was found in TechPowerUp RealTemp 3.7.0.0. This vulnerability affects unknown code in the library WinRing0x64.sys. The manipulation leads to improper initialization. An attack has to be approached locally. The exploit ha…

  • High 7.5

    BIG-IP Virtual Edition vulnerability

    On BIG-IP Virtual Edition versions 15.1x beginning in 15.1.4 to before 15.1.8 and 14.1.x beginning in 14.1.5 to before 14.1.5.3, and BIG-IP SPK beginning in 1.5.0 to before 1.6.0, when FastL4 profile is configured on a virtual server, undisclosed traffic can …

  • High 7.5
    CVE-2022-46505 Public exploit

    An issue in MatrixSSL 4.5.1-open and earlier leads to failure to securely check the SessionID field, resulting in the m…

  • Medium 5.4

    Tokio's reject_remote_clients configuration may get dropped when creating a Windows named pipe

    Tokio is a runtime for writing applications with Rust. Starting with version 1.7.0 and prior to versions 1.18.4, 1.20.3, and 1.23.1, when configuring a Windows named pipe server, setting `pipe_mode` will reset `reject_remote_clients` to `false`. If the applic…

  • High 7.4

    Openshift 4.9 does not use HTTP Strict Transport Security (HSTS) which may allow man-in-the-middle (MITM) attacks.

  • High 7.5

    External initialization of trusted variables or data stores vulnerability exists in WordPress Popular Posts 6.0.5 and e…

  • Critical 9.4
    CVE-2022-46164 Public exploit EPSS 47%

    Account takeover via prototype vulnerability

    NodeBB is an open source Node.js based forum software. Due to a plain object with a prototype being used in socket.io message handling a specially crafted payload can be used to impersonate other users and takeover accounts. This vulnerability has been patche…

  • High 7.0

    Improper initialization in BIOS firmware for some Intel(R) NUC 11 Pro Kits and Intel(R) NUC 11 Pro Boards before versio…

  • Medium 5.6

    OpenZeppelin Contracts initializer reentrancy may lead to double initialization

    OpenZeppelin Contracts is a library for secure smart contract development. Before version 4.4.1 but after 3.2.0, initializer functions that are invoked separate from contract creation (the most prominent example being minimal proxies) may be reentered if they…

  • Low 2.6

    Secure or HttpOnly flag set in Config\Cookie is not reflected in Cookies issued in Codeigniter4

    CodeIgniter is a PHP full-stack web framework. In versions prior to 4.2.7 setting `$secure` or `$httponly` value to `true` in `Config\Cookie` is not reflected in `set_cookie()` or `Response::setCookie()`. As a result cookie values are erroneously exposed to s…

  • Medium 5.5

    A memory initialization issue was addressed with improved memory handling. This issue is fixed in iOS 15.6 and iPadOS 1…

  • High 7.6

    Improper Initialization vulnerability in local server authentication logic

    Improper Initialization vulnerability in the local server component of EZVIZ CS-C6N-A0-1C2WFR allows a local attacker to read the contents of the memory space containing the encrypted admin password. This issue affects: EZVIZ CS-C6N-A0-1C2WFR versions prior t…

  • Medium 6.5

    Elrond go can execute on same context checks in VM

    Elrond go is the go implementation for the Elrond Network protocol. In versions prior to 1.3.35, read only calls between contracts can generate smart contracts results. For example, if contract A calls in read only mode contract B and the called function will…

  • Unscored —

    A flaw was found in the Linux kernel’s implementation of reading the SVC RDMA counters. Reading the counter sysctl pani…

  • Medium 6.9

    Improper initialization in the firmware for some Intel(R) NUC Laptop Kits before version BC0076 may allow a privileged …

  • High 7.8

    Improper initialization in the firmware for some Intel(R) NUC Laptop Kits before version BC0076 may allow a privileged …

  • Medium 5.5

    Improper initialization in the Intel(R) Data Center Manager software before version 4.1 may allow an authenticated user…