CVE-2024-3652

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

Published Apr 11, 2024 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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

Vendor Solution

This issue is fixed in 4.15 and all later versions.


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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-32230 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.
History
Type Values Removed Values Added
First Time appeared Libreswan
Libreswan libreswan
CPEs cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:*
Vendors & Products Libreswan
Libreswan libreswan
Type Values Removed Values Added
First Time appeared Redhat openshift
CPEs cpe:/a:redhat:openshift:4.15::el9
cpe:/a:redhat:openshift:4.16::el9
cpe:/a:redhat:openshift:4.17::el9
Vendors & Products Redhat openshift
Type Values Removed Values Added
Weaknesses CWE-404
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
libreswan
Published
Updated
Feb 27, 2026, 3:19 PM
Reserved
Apr 11, 2024, 1:28 AM
Status
Analyzed
Published
Apr 11, 2024, 2:15 AM
Modified
Jun 17, 2026, 7:44 AM
Severity
Moderate
Public date
Apr 15, 2024, 12:00 AM