CVE-2024-3652

IKEv1 default AH/ESP responder can cause libreswan to abort and restart

Description

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, libreswan's default proposal handler causes an assertion failure and crashes and restarts. IKEv2 connections are not affected.

Remediation

Solution:

  • This issue is fixed in 4.15 and all later versions.

Workaround:

  • As a workaround, adding an esp= line to all IKEv1 connections works around the issue. An example covering most common default configurations would be: esp=aes-sha2_512,aes-sha1,aes-sha2_256,aes-md5,3des-sha1,3des-md5.

Category

6.5
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.03%
Vendor Advisory libreswan.org
Affected: The Libreswan Project (www.libreswan.org) libreswan
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-3652?
CVE-2024-3652 has been scored as a medium severity vulnerability.
How to fix CVE-2024-3652?
To fix CVE-2024-3652: This issue is fixed in 4.15 and all later versions.
Is CVE-2024-3652 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-3652 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-3652?
CVE-2024-3652 affects The Libreswan Project (www.libreswan.org) libreswan.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.