CyberSecBulletin

Improper Resource Shutdown or Release

CWE-404

The product does not release or incorrectly releases a resource before it is made available for re-use.

When a resource is created or allocated, the developer is responsible for properly releasing the resource as well as accounting for all potential paths of expiration or invalidation, such as a set period of time or revocation.

We track 172 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 7.6. 6 have been exploited in real attacks.

How this weakness is prevented

  • Requirements: Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. For example, languages such as Java, Ruby, and Lisp perform automatic garbage collection that releases memory for objects that have been deallocated.
  • Implementation: It is good practice to be responsible for freeing all resources you allocate and to be consistent with how and where you free memory in a function. If you allocate memory that you intend to free upon completion of the function, you must be sure to free the memory at all exit points for that function including error conditions.
  • Implementation: Memory should be allocated/freed using matching functions such as malloc/free, new/delete, and new[]/delete[].
  • Implementation: When releasing a complex object or structure, ensure that you properly dispose of all of its member components, not just the object itself.

Latest Improper Resource Shutdown or Release vulnerabilities

  • 7.5 High severity

    BIG-IP: Improper Resource Shutdown or Release

    CVE-2022-35240F5

    In BIG-IP Versions 16.1.x before 16.1.2.2, 15.1.x before 15.1.6.1, and 14.1.x before 14.1.5, when the Message Routing (MR) Message Queuing Telemetry Transport (MQTT) profile is configured on a virtual server, undisclosed requests can cause an increase in memor

  • 7.5 High severity

    FLEX-1085: Improper Resource Shutdown or Release

    CVE-2022-2591TEMEPSS 9.33%

    A vulnerability classified as critical has been found in TEM FLEX-1085 1.6.0. Affected is an unknown function of the file /sistema/flash/reboot. The manipulation leads to denial of service. It is possible to launch the attack remotely. The exploit has been dis

  • 7.5 High severity

    Eclipse Jetty: Improper Resource Shutdown or Release

    CVE-2022-2191Eclipse FoundationEPSS 2.18%

    In Eclipse Jetty versions 10.0.0 thru 10.0.9, and 11.0.0 thru 11.0.9 versions, SslConnection does not release ByteBuffers from configured ByteBufferPool in case of error code paths.

  • 8.6 High severity

    Apache Tomcat: Improper Resource Shutdown or Release

    CVE-2022-25762ApacheEPSS 8.4%

    If a web application sends a WebSocket message concurrently with the WebSocket connection closing when running on Apache Tomcat 8.5.0 to 8.5.75 or Apache Tomcat 9.0.0.M1 to 9.0.20, it is possible that the application will continue to use the socket after it ha

  • 7.5 High severity

    BIG-IP: Improper Resource Shutdown or Release

    CVE-2022-23010BIG-IP

    On BIG-IP versions 16.x before 16.1.0, 15.1.x before 15.1.4.1, 14.1.x before 14.1.4.4, and all versions of 13.1.x, 12.1.x, and 11.6.x, when a FastL4 profile and an HTTP profile are configured on a virtual server, undisclosed requests can cause an increase in m

  • 7.8 High severity

    xen: Improper Resource Shutdown or Release

    CVE-2022-23033Xen

    arm: guest_physmap_remove_page not removing the p2m mappings The functions to remove one or more entries from a guest p2m pagetable on Arm (p2m_remove_mapping, guest_physmap_remove_page, and p2m_set_entry with mfn set to INVALID_MFN) do not actually clear the

  • 7.8 High severity

    Microsoft Windows Win32k Improper Resource Shutdown or Release Exploited

    CVE-2018-8639MicrosoftEPSS 22.3%

    An elevation of privilege vulnerability exists in Windows when the Win32k component fails to properly handle objects in memory, aka "Win32k Elevation of Privilege Vulnerability." This affects Windows 7, Windows Server 2012 R2, Windows RT 8.1, Windows Server 20

  • 7.8 High severity

    Microsoft Windows Kernel Privilege Escalation Exploited

    CVE-2018-8611MicrosoftEPSS 4.2%

    An elevation of privilege vulnerability exists when the Windows kernel fails to properly handle objects in memory, aka "Windows Kernel Elevation of Privilege Vulnerability." This affects Windows 7, Windows Server 2012 R2, Windows RT 8.1, Windows Server 2008, W

  • 7.8 High severity

    Microsoft DirectX Graphics Kernel Privilege Escalation Exploited

    CVE-2018-8406MicrosoftEPSS 3.44%

    An elevation of privilege vulnerability exists when the DirectX Graphics Kernel (DXGKRNL) driver improperly handles objects in memory, aka "DirectX Graphics Kernel Elevation of Privilege Vulnerability." This affects Windows Server 2016, Windows 10, Windows 10

  • 7.8 High severity

    Microsoft DirectX Graphics Kernel Privilege Escalation Exploited

    CVE-2018-8405MicrosoftEPSS 3.44%

    An elevation of privilege vulnerability exists when the DirectX Graphics Kernel (DXGKRNL) driver improperly handles objects in memory, aka "DirectX Graphics Kernel Elevation of Privilege Vulnerability." This affects Windows Server 2012 R2, Windows RT 8.1, Wind

  • 7.0 High severity

    Microsoft Win32k Privilege Escalation Exploited

    CVE-2018-8120MicrosoftEPSS 73.3%

    An elevation of privilege vulnerability exists in Windows when the Win32k component fails to properly handle objects in memory, aka "Win32k Elevation of Privilege Vulnerability." This affects Windows Server 2008, Windows 7, Windows Server 2008 R2. This CVE ID

  • 7.5 High severity

    Cisco IOS Software and Cisco IOS XE Software UDP Packet Processing Denial-of-Service Exploited

    CVE-2017-6627Cisco IOS and Cisco IOS XEEPSS 6.16%

    A vulnerability in the UDP processing code of Cisco IOS 15.1, 15.2, and 15.4 and IOS XE 3.14 through 3.18 could allow an unauthenticated, remote attacker to cause the input queue of an affected system to hold UDP packets, causing an interface queue wedge and a