CVE Vulnerabilities

CVE-2024-3652

Improper Resource Shutdown or Release

Published: Apr 11, 2024 | Modified: Jun 17, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
6.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

The Libreswan Project was notified of an issue causing libreswan to restart when using IKEv1 without specifying an esp= line. When the peer requests AES-GMAC, libreswans default proposal handler causes an assertion failure and crashes and restarts. IKEv2 connections are not affected.

Weakness

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

Affected Software

NameVendorStart VersionEnd Version
LibreswanLibreswan3.22 (including)4.15 (excluding)
Red Hat Enterprise Linux 8RedHatlibreswan-0:4.12-2.el8_10.4*
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRedHatlibreswan-0:4.5-1.el8_6.3*
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRedHatlibreswan-0:4.5-1.el8_6.3*
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRedHatlibreswan-0:4.5-1.el8_6.3*
Red Hat Enterprise Linux 8.8 Extended Update SupportRedHatlibreswan-0:4.9-3.el8_8.2*
Red Hat Enterprise Linux 9RedHatlibreswan-0:4.12-2.el9_4.1*
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRedHatlibreswan-0:4.6-3.el9_0.2*
Red Hat Enterprise Linux 9.2 Extended Update SupportRedHatlibreswan-0:4.9-5.el9_2.2*
Red Hat OpenShift Container Platform 4.15RedHatlibreswan-0:4.6-3.el9_0.3*
Red Hat OpenShift Container Platform 4.16RedHatlibreswan-0:4.6-3.el9_0.3*
Red Hat OpenShift Container Platform 4.17RedHatlibreswan-0:4.6-3.el9_0.3*
LibreswanUbuntufocal*
LibreswanUbuntumantic*
LibreswanUbuntuoracular*
LibreswanUbuntuplucky*

Potential Mitigations

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

References