Skip to content
OpenAdvisories

Weakness (CWE)

CWE-563: Assignment to Variable without Use

Base Draft

The variable's value is assigned but never used, i.e., is a dead store. That is, after the assignment, the variable is either assigned another value or goes out of scope.

How to prevent it (1 mitigation)
  1. Implementation

    Remove unused variables from the code.

Source: MITRE CWE-563

2 results · Feed

  • Low 2.9

    HCL DRYiCE Optibot Reset Station is impacted by an Unused Parameter in the web application

    HCL DRYiCE Optibot Reset Station is impacted by an Unused Parameter in the web application.

  • High 7.7

    Cisco IOS and IOS XE Software IKEv2 AutoReconnect Feature Denial of Service Vulnerability

    A vulnerability in the Internet Key Exchange Version 2 (IKEv2) support for the AutoReconnect feature of Cisco IOS Software and Cisco IOS XE Software could allow an authenticated, remote attacker to exhaust the free IP addresses from the assigned local pool. T…