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

56 results · Clear filters · Feed

  • High 7.5

    Junos OS and Junos OS Evolved: A remote BGP peer causes an rpd crash when long-lived graceful restart (LLGR) is used

    An Improper Initialization vulnerability in the routing protocol daemon (rpd) of Juniper Networks Junos OS and Junos OS Evolved allows a remote BGP peer to cause an rpd crash via an LLGR-stale route update readvertised to a configured non-LLGR peer group.

  • High 7.0

    Improper initialization in an ASUS certain motherboard allows an physically proximate user to read or write arbitrary m…

  • High 8.3

    Improper initialization in Views in Google Chrome on on Windows prior to 153.0.8010.36 allowed a remote attacker who ha…

  • High 7.8

    device property: initialize the remaining fields of fwnode_handle in fwnode_init()

    In the Linux kernel, the following vulnerability has been resolved: device property: initialize the remaining fields of fwnode_handle in fwnode_init() If a firmware node is allocated on the stack (for instance: temporary software node whose life-time we contr…

  • High 7.3

    correct buffer checks for DM_OP hypercalls

    Parts of the DM_OP handling code assumes the caller has provided the required number of buffers for the given operation without any checking being done. As a result, certain operations might access stack rubble as structures are possibly uninitialized.

  • High 8.1

    mm/slab: do not limit zeroing to orig_size when only red zoning is enabled

    In the Linux kernel, the following vulnerability has been resolved: mm/slab: do not limit zeroing to orig_size when only red zoning is enabled When init (zeroing) on allocation is requested, for kmalloc() we generally have to zero the full object size even if…

  • High 7.2

    DOMPurify before 3.4.11 Permanent Attribute Allowlist Pollution via setConfig

    DOMPurify before 3.4.11 fails to clone the ALLOWED_ATTR allowlist when setConfig() is used with an uponSanitizeAttribute hook, allowing the hook to permanently mutate the shared allowlist. Attackers can register a hook that conditionally allows dangerous attr…

  • High 7.5

    A malicious actor with access to the network and under certain conditions could exploit an Improper Initialization vuln…

  • High 7.8

    cifs: some missing initializations on replay

    In the Linux kernel, the following vulnerability has been resolved: cifs: some missing initializations on replay In several places in the code, we have a label to signify the start of the code where a request can be replayed if necessary. However, some of the…

  • High 7.5

    Meridian: Multiple defense-in-depth gaps (collection/depth caps, telemetry, retry, fan-out)

    ## Summary Meridian v2.1.0 (`Meridian.Mapping` and `Meridian.Mediator`) shipped with nine defense-in-depth gaps reachable through its public APIs. Two are HIGH severity — the advertised `DefaultMaxCollectionItems` and `DefaultMaxDepth` safety caps are silentl…

  • High 7.8

    media: dvb-core: fix wrong reinitialization of ringbuffer on reopen

    In the Linux kernel, the following vulnerability has been resolved: media: dvb-core: fix wrong reinitialization of ringbuffer on reopen dvb_dvr_open() calls dvb_ringbuffer_init() when a new reader opens the DVR device. dvb_ringbuffer_init() calls init_waitque…

  • High 7.5

    An issue was discovered in LBS in Samsung Mobile Processor Exynos 2200. There was no check for memory initialization wi…

  • High 7.5

    erspan: Initialize options_len before referencing options.

    In the Linux kernel, the following vulnerability has been resolved: erspan: Initialize options_len before referencing options. The struct ip_tunnel_info has a flexible array member named options that is protected by a counted_by(options_len) attribute. The co…

  • High 8.9

    BMC Control-M/Agent memory corruption in SSL/TLS communication

    Memory corruptions can be remotely triggered in the Control-M/Agent when SSL/TLS communication is configured. The issue occurs in the following cases: * Control-M/Agent 9.0.20: SSL/TLS configuration is set to the non-default setting "use_openssl=n"; * Control…

  • High 8.5

    Rockwell Automation Arena® Uninitialized Vulnerability

    An “uninitialized variable” code execution vulnerability exists in the Rockwell Automation Arena® that could allow a threat actor to craft a DOE file and force the software to access a variable before it being initialized. If exploited, a threat actor could l…

  • High 7.5

    Unbounded allocation in ctl(4) CAM Target Layer

    The fetch(3) library uses environment variables for passing certain information, including the revocation file pathname. The environment variable name used by fetch(1) to pass the filename to the library was incorrect, in effect ignoring the option. Fetch wou…

  • High 8.8

    Improper initialization in the Linux kernel mode driver for some Intel(R) Ethernet Network Controllers and Adapters bef…

  • High 7.8

    CVE

    NVIDIA GPU Display Driver for Windows contains a vulnerability where the information from a previous client or another process could be disclosed. A successful exploit of this vulnerability might lead to code execution, information disclosure, or data tamperi…

  • High 7.8

    Parallels Desktop Updater Improper Initialization Local Privilege Escalation Vulnerability

    Parallels Desktop Updater Improper Initialization Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of Parallels Desktop. An attacker must first obtain the ability to execute l…

  • High 7.8

    Parallels Desktop Updater Improper Initialization Local Privilege Escalation Vulnerability

    Parallels Desktop Updater Improper Initialization Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of Parallels Desktop. An attacker must first obtain the ability to execute l…

  • High 7.8

    Parallels Desktop Service Improper Initialization Local Privilege Escalation Vulnerability

    Parallels Desktop Service Improper Initialization Local Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of Parallels Desktop. An attacker must first obtain the ability to execute l…

  • High 7.5

    p2putil.c in iNet wireless daemon (IWD) through 2.15 allows attackers to cause a denial of service (daemon crash) or po…

  • High 7.8

    Improper initialization of x87 and SSE floating-point configuration registers in the __scone_entry component of SCONE b…

  • High 8.8

    Improper initialization in some Intel(R) Aptio* V UEFI Firmware Integrator Tools may allow an authenticated user to pot…

  • High 7.5

    Bitrix24 Insecure Global Variable Extraction

    Global variable extraction in bitrix/modules/main/tools.php in Bitrix24 22.0.300 allows unauthenticated remote attackers to (1) enumerate attachments on the server and (2) execute arbitrary JavaScript code in the victim's browser, and possibly execute arbitra…

  • 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.

  • 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 …

  • 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…

  • 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…

  • 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…

  • 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…

  • 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…

  • 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…

  • High 7.8

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