Skip to content
OpenAdvisories

Weakness (CWE)

CWE-460: Improper Cleanup on Thrown Exception

Base Draft

The product does not clean up its state or incorrectly cleans up its state when an exception is thrown.

How to prevent it (1 mitigation)
  1. Implementation

    If one breaks from a loop or function by throwing an exception, make sure that cleanup happens or that you should exit the program. Use throwing exceptions sparsely.

Source: MITRE CWE-460

18 results · Clear filters · Feed

  • Medium 5.5

    Ghidra before 12.1.4 Denial of Service via Unreleased Lock in OptionsDB

    Ghidra before 12.1.4 fails to validate the TYPE_COL byte in OptionsDB.createUnregisteredOption(), causing an ArrayIndexOutOfBoundsException that leaves domain objects permanently locked. Attackers can craft a malicious program database file that, when importe…

  • Medium 6.1

    Snipe-IT before 8.7.0 Database Wipe via Invalid Backup Archive

    Snipe-IT versions before 8.7.0 wipe the database before validating the uploaded backup archive in the restore endpoint. Superusers uploading corrupted or invalid zip files trigger permanent data loss with no recovery path or rollback mechanism.

  • Medium 6.9

    In Eclipse Milo versions 1.0.0 through 1.1.4, monitored-item quota accounting is not exception-safe: if item creation f…

  • Medium 5.3

    Syft improper temporary file cleanup

    Syft is a a CLI tool and Go library for generating a Software Bill of Materials (SBOM) from container images and filesystems. Syft versions before v1.42.3 would not properly cleanup temporary storage if the temporary storage was exhausted during a scan. When …

  • Medium 6.8

    Cisco IOS-XR NCS 5500 and NCS 5700 Egress Packet Network Interfaces Aligner Interrupt Denial of Service Vulnerability

    A vulnerability in the handling of an Egress Packet Network Interface (EPNI) Aligner interrupt in Cisco IOS XR Software for Cisco Network Convergence System (NCS) 5500 Series with NC57 line cards and Cisco NCS 5700 Routers and Cisco IOS XR Software for Third …

  • Medium 6.2

    GNU Binutils thru 2.46 readelf contains a vulnerability that leads to an abort (SIGABRT) when processing a crafted ELF …

  • Medium 6.5

    pleezer allows resource exhaustion through uncollected hook script processes

    pleezer is a headless Deezer Connect player. Hook scripts in pleezer can be triggered by various events like track changes and playback state changes. In versions before 0.16.0, these scripts were spawned without proper process cleanup, leaving zombie process…

  • Medium 6.5

    Envoy crashes when HTTP ext_proc processes local replies

    Envoy is a cloud-native high-performance edge/middle/service proxy. Prior to 1.33.1, 1.32.4, 1.31.6, and 1.30.10, Envoy's ext_proc HTTP filter is at risk of crashing if a local reply is sent to the external server due to the filter's life time issue. A known …

  • Medium 5.9

    Boundary Controller Incorrectly Handles HTTP Requests On Initialization Which May Lead to a Denial of Service

    Boundary Community Edition and Boundary Enterprise (“Boundary”) incorrectly handle HTTP requests during the initialization of the Boundary controller, which may cause the Boundary server to terminate prematurely. Boundary is only vulnerable to this flaw durin…

  • Medium 4.7

    A vulnerability in the handling of encrypted wireless frames of Cisco Aironet Access Point (AP) Software could allow an…

  • Medium 6.8

    Improper cleanup vulnerability in FireEye Endpoint Security

    Improper cleanup vulnerability in exceptions thrown in FireEye Endpoint Security, affecting version 5.2.0.958244. This vulnerability could allow an attacker to send multiple request packets to the containment_notify/preview parameter, which could lead to a se…

  • Medium 5.5

    A double-free memory flaw was found in the Linux kernel. The Intel GVT-g graphics driver triggers VGA card system resou…

  • Medium 4.3

    Improper Cleanup on Thrown Exception in ikus060/rdiffweb

    Improper Cleanup on Thrown Exception in GitHub repository ikus060/rdiffweb prior to 2.4.8.

  • Medium 6.7

    Cisco Expressway Series and TelePresence Video Communication Server Remote Code Execution Vulnerability

    A vulnerability in the web-based management interface of Cisco Expressway Series and Cisco TelePresence Video Communication Server (VCS) could allow an authenticated, remote attacker to execute arbitrary code on the underlying operating system as the root use…

  • Medium 5.5

    ordered_float:NotNan may contain NaN after panic in assignment operators

    An issue was discovered in the ordered-float crate before 1.1.1 and 2.x before 2.0.1 for Rust. A NotNan value can contain a NaN.

  • Medium 4.4

    A memory disclosure flaw was found in the Linux kernel's ethernet drivers, in the way it read data from the EEPROM of t…

  • Medium 5.0

    A flaw was found in cri-o, as a result of all pod-related processes being placed in the same memory cgroup. This can re…

  • Medium 4.3

    openshift before versions 3.3.1.11, 3.2.1.23, 3.4 is vulnerable to a flaw when a volume fails to detach, which causes t…