CVE-2024-2357 json
IKEv2 misconfiguration can cause libreswan to abort and restart
published 2024-03-11 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-27310
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 61%
- public exploits
- 0
- none known
Summary
The Libreswan Project was notified of an issue causing libreswan to restart under some IKEv2 retransmit scenarios when a connection is configured to use PreSharedKeys (authby=secret) and the connection cannot find a matching configured secret. When such a connection is automatically added on startup using the auto= keyword, it can cause repeated crashes leading to a Denial of Service.
Patch / fix
- The Libreswan Project (www.libreswan.org) libreswan 3.0, 5.0
- libreswan Debian 13 4.14-1
debian advisories DEBIAN-CVE-2024-2357
- libreswan openshift 4.17, openshift 4.16, openshift 4.15 +1 more 4.6-3.el9_0.3
- libreswan RHEL 9 4.12-2.el9_4
- libreswan RHEL 9 4.12-1.el9_3.1
- libreswan RHEL 8 4.12-2.el8_9.2
- libreswan RHEL 8.8 EUS 4.9-3.el8_8.1
- libreswan RHEL 8.6 EUS 4.5-1.el8_6.2
- libreswan RHEL 9.2 EUS 4.9-5.el9_2.1
red hat advisories RHBA-2024:11565RHBA-2024:11505RHBA-2024:11525RHSA-2024:10594RHSA-2024:2081RHSA-2024:2082
- libreswan AlmaLinux 9 4.12-2.el9_4.alma.1
- libreswan AlmaLinux 9 4.12-1.el9_3.1.alma.1
- libreswan AlmaLinux 8 4.12-2.el8_9.2.alma.1
almalinux advisories ALSA-2024:2565ALSA-2024:2033ALSA-2024:1998
- libreswan Rocky Linux 9 4.12-2.el9_4
- libreswan Rocky Linux 8 4.12-2.el8_9.2
rocky linux advisories RLSA-2024:2565RLSA-2024:1998
- libreswan Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 4.15-r0
alpine advisories ALPINE-CVE-2024-2357
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
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-2357 updated cvss 5.0
libreswan: Missing PreSharedKey for connection can cause crash
-
Red Hat Enterprise Linux 6 libreswan Red Hat Enterprise Linux 7 libreswanaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 8) libreswan 4.12-2.el8_9.2fixed: vendor fix RHSA-2024:1998
-
Red Hat Enterprise Linux AppStream (v. 9) libreswan 4.12-2.el9_4, libreswan 4.12-1.el9_3.1fixed: vendor fix RHSA-2024:2033
-
Red Hat Enterprise Linux AppStream E4S (v.9.0) libreswan 4.6-3.el9_0.3fixed: vendor fix RHSA-2024:10594
-
Red Hat Enterprise Linux AppStream EUS (v.8.6) libreswan 4.5-1.el8_6.2fixed: vendor fix RHSA-2024:2082
-
Red Hat Enterprise Linux AppStream EUS (v.8.8) libreswan 4.9-3.el8_8.1fixed: vendor fix RHSA-2024:2081
-
Red Hat Enterprise Linux AppStream EUS (v.9.2) libreswan 4.9-5.el9_2.1fixed: vendor fix RHSA-2024:2085
-
Red Hat OpenShift Container Platform 4.15 libreswan 4.6-3.el9_0.3fixed: vendor fix RHBA-2024:11565
show 3 moreshow fewer
-
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 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.95% chance of exploitation in the next 30 days, higher than 61% 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
References
-
libreswan.org
/security/CVE-2024-2357
vendor-advisory
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/EJZJYFHKBIJ4ZK5GAWWFFR3AKJS6O5JX/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/HEM46ALKF7NG6CAUKZ7KQERVOHWQIQKY/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/TVQ7MZY6LFFGRWAJNTKKN2VSEFS2VPAR/
Sources
- CVE List CVE-2024-2357
- NVD CVE-2024-2357
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.