CVE-2024-3652
Rocky Linux vulnerability analysis and mitigation

Overview

CVE-2024-3652 affects Libreswan, an implementation of IPsec and IKE for Linux, in versions 3.22 through 4.14. The vulnerability was discovered when Libreswan would restart when using IKEv1 without specifying an esp= line. The issue specifically occurs when a peer requests AES-GMAC, causing libreswan's default proposal handler to trigger an assertion failure, resulting in a crash and restart. Notably, IKEv2 connections are not affected by this vulnerability (NVD, OSS Security).

Technical details

The vulnerability stems from a flaw in the computeprotokeymat() function, which fails to properly handle unexpected proposals where the keymat size is 0, such as in the case of AES-GMAC used with NULL encryption. This implementation error leads to an assertion failure routine being called. The vulnerability has been assigned a CVSS v3.1 base score of 6.5 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, indicating a network-accessible vulnerability with low attack complexity (NVD).

Impact

The primary impact of this vulnerability is a denial of service condition affecting the Libreswan service. When exploited, it causes the service to crash and restart, potentially disrupting VPN connections. It's important to note that no Remote Code Execution is possible through this vulnerability (OSS Security).

Mitigation and workarounds

The vulnerability has been fixed in Libreswan versions 4.15+ and 5.0+. Organizations running affected versions (3.22 - 4.14) should upgrade to a patched version. Systems running Libreswan versions 3.0 - 3.21 are not vulnerable to this issue (OSS Security).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management