CVE-2024-3652 json
IKEv1 default AH/ESP responder can cause libreswan to abort and restart
published 2024-04-11 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-32230
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- The Libreswan Project (www.libreswan.org) libreswan 5.0
- libreswan Debian 13 4.15-1
debian advisories DEBIAN-CVE-2024-3652
- libreswan openshift 4.17, openshift 4.16, openshift 4.15 4.6-3.el9_0.3
- libreswan RHEL 8 4.12-2.el8_10.4
- libreswan RHEL 9 4.12-2.el9_4.1
- libreswan RHEL 9.2 EUS 4.9-5.el9_2.2
- libreswan RHEL 8.6 TUS, RHEL 8.6 E4S, RHEL 8.6 AUS 4.5-1.el8_6.3
- libreswan RHEL 9.0 E4S 4.6-3.el9_0.2
- libreswan RHEL 8.8 EUS 4.9-3.el8_8.2
red hat advisories RHBA-2024:11565RHBA-2024:11505RHBA-2024:11525RHSA-2024:4431RHSA-2024:4417RHSA-2024:4377
- libreswan AlmaLinux 8 4.12-2.el8_10.4
- libreswan AlmaLinux 9 4.12-2.el9_4.1
almalinux advisories ALSA-2024:4376ALSA-2024:4050
- libreswan Rocky Linux 8 4.12-2.el8_10.4
- libreswan Rocky Linux 9 4.12-2.el9_4.1
rocky linux advisories RLSA-2024:4376RLSA-2024:4050
- libreswan Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 4.15-r0
alpine advisories ALPINE-CVE-2024-3652
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libreswan Azure Linux 3.0 4.15-1
- libreswan CBL-Mariner 2.0 4.14-2
azure linux advisories AZL-39919AZL-39927
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-3652 updated cvss 6.5
libreswan: IKEv1 default AH/ESP responder can crash and restart
-
Red Hat Enterprise Linux 7 libreswanaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 10 libreswanaffected: workaround, no fix available
-
Red Hat Enterprise Linux AppStream (v. 8) libreswan 4.12-2.el8_10.4fixed: vendor fix RHSA-2024:4376
-
Red Hat Enterprise Linux AppStream (v. 9) libreswan 4.12-2.el9_4.1fixed: vendor fix RHSA-2024:4050
-
Red Hat Enterprise Linux AppStream AUS (v.8.6) libreswan 4.5-1.el8_6.3 Red Hat Enterprise Linux AppStream E4S (v.8.6) libreswan 4.5-1.el8_6.3fixed: vendor fix RHSA-2024:4417
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) libreswan 4.6-3.el9_0.2fixed: vendor fix RHSA-2024:4377
-
Red Hat Enterprise Linux AppStream EUS (v.8.8) libreswan 4.9-3.el8_8.2fixed: vendor fix RHSA-2024:4200
-
Red Hat Enterprise Linux AppStream EUS (v.9.2) libreswan 4.9-5.el9_2.2fixed: vendor fix RHSA-2024:4431
show 5 moreshow fewer
-
Red Hat Enterprise Linux AppStream TUS (v.8.6) libreswan 4.5-1.el8_6.3fixed: vendor fix RHSA-2024:4417
-
Red Hat OpenShift Container Platform 4.15 libreswan 4.6-3.el9_0.3fixed: vendor fix RHBA-2024:11565
-
Red Hat OpenShift Container Platform 4.16 libreswan 4.6-3.el9_0.3fixed: vendor fix RHBA-2024:11505
-
Red Hat OpenShift Container Platform 4.17 libreswan 4.6-3.el9_0.3fixed: vendor fix RHBA-2024:11525
-
Red Hat Enterprise Linux 6 libreswan Red Hat Enterprise Linux AppStream E4S (v.8.6) libreswan 4.5-1.el8_6.3 Red Hat OpenShift Container Platform 4.17 openshift 4.17.0-202412172334.p0.gf868289.assembly.stream.el8, openshift 4.17.0-202412172334.p0.gf868289.assembly.stream.el9, openshift-kubelet 4.17.0-202412172334.p0.gf868289.assembly.stream.el8, openshift-kubelet 4.17.0-202412172334.p0.gf868289.assembly.stream.el9, openshift-hyperkube 4.17.0-202412172334.p0.gf868289.assembly.stream.el8, openshift-hyperkube 4.17.0-202412172334.p0.gf868289.assembly.stream.el9, +6 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.80% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- The Libreswan Project (www.libreswan.org) libreswan
Classification
- Weakness
-
- CWE-404 Improper Resource Shutdown or Release
References
-
libreswan.org
/security/CVE-2024-3652
vendor-advisory, third-party-advisory
-
openwall.com
/lists/oss-security/2024/04/18/2
mailing-list
Sources
- CVE List CVE-2024-3652
- NVD CVE-2024-3652
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.