CVE-2024-2357: IKEv2 misconfiguration can cause libreswan to abort and restart
Vulnerability summary
CVE-2024-2357 is a medium (CVSS 6.5) vulnerability in the libreswan project (www.libreswan.org) libreswan. EPSS estimates a 0.95% chance of exploitation in the next 30 days, higher than 61.3% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4Timeline
- 11-03-2024PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · Red hatEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · AlpineEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.95%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.94% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat3 products
- libreswan< 0:4.12-2.el8_9.2 | < 0:4.12-1.el9_3.1 | < 0:4.9-3.el8_8.1 | < 0:4.5-1.el8_6.2 | < 0:4.9-5.el9_2.1 | < 0:4.12-2.el9_4
- libreswan-debuginfo< 0:4.12-2.el8_9.2 | < 0:4.12-1.el9_3.1 | < 0:4.9-3.el8_8.1 | < 0:4.5-1.el8_6.2 | < 0:4.9-5.el9_2.1 | < 0:4.12-2.el9_4
- libreswan-debugsource< 0:4.12-2.el8_9.2 | < 0:4.12-1.el9_3.1 | < 0:4.9-3.el8_8.1 | < 0:4.5-1.el8_6.2 | < 0:4.9-5.el9_2.1 | < 0:4.12-2.el9_4
Alpine1 product
- libreswan< 4.15-r0
Debian1 product
- libreswanAll versions (No fix recorded) | < 4.14-1
Mageia1 product
- libreswan< 4.14-1.mga9
The libreswan project (www.libreswan.org)1 product
- libreswan≥ 4.2, ≤ 4.12
Ubuntu1 product
- libreswanAll versions (No fix recorded)
6 vendors · 8 products