IKEv2 misconfiguration can cause libreswan to abort and restart
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| The Libreswan Project (www.libreswan.org) | libreswan | unaffected |
|
No data.
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | |||
| libreswan-0:4.12-2.el8_9.2 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:1998 | 2024-04-23T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Extended Update Support | |||
| libreswan-0:4.5-1.el8_6.2 | cpe:/a:redhat:rhel_eus:8.6 | RHSA-2024:2082 | 2024-04-30T00:00:00Z |
| Red Hat Enterprise Linux 8.8 Extended Update Support | |||
| libreswan-0:4.9-3.el8_8.1 | cpe:/a:redhat:rhel_eus:8.8 | RHSA-2024:2081 | 2024-04-30T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| libreswan-0:4.12-1.el9_3.1 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2024:2033 | 2024-04-24T00:00:00Z |
| libreswan-0:4.12-2.el9_4 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2024:2565 | 2024-04-30T00:00:00Z |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | |||
| libreswan-0:4.6-3.el9_0.3 | cpe:/a:redhat:rhel_e4s:9.0 | RHSA-2024:10594 | 2024-12-02T00:00:00Z |
| Red Hat Enterprise Linux 9.2 Extended Update Support | |||
| libreswan-0:4.9-5.el9_2.1 | cpe:/a:redhat:rhel_eus:9.2 | RHSA-2024:2085 | 2024-04-30T00:00:00Z |
| Red Hat OpenShift Container Platform 4.15 | |||
| libreswan-0:4.6-3.el9_0.3 | cpe:/a:redhat:openshift:4.15::el9 | RHBA-2024:11565 | 2025-01-02T00:00:00Z |
| Red Hat OpenShift Container Platform 4.16 | |||
| libreswan-0:4.6-3.el9_0.3 | cpe:/a:redhat:openshift:4.16::el9 | RHBA-2024:11505 | 2025-01-02T00:00:00Z |
| Red Hat OpenShift Container Platform 4.17 | |||
| libreswan-0:4.6-3.el9_0.3 | cpe:/a:redhat:openshift:4.17::el9 | RHBA-2024:11525 | 2025-01-02T00:00:00Z |
No data available yet.
Vendor Solution
This issue is fixed in 4.13, 5.0 and all later versions.
Vendor Workaround
As a workaround, one can place an unguessable long random default secret in /etc/ipsec.secrets, for example using the following command: echo -e "# CVE-2024-2357 workaround : PSK "$(openssl rand -hex 32)"" >> /etc/ipsec.secrets This will ensure a PSK secret is always found, but it will always be wrong, and thus authentication will still properly fail.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-27310 | 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. |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.952% probability within 30 days)
| 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 |
|---|---|---|
| First Time appeared |
Redhat rhel E4s
|
|
| CPEs | cpe:/a:redhat:rhel_e4s:9.0 | |
| Vendors & Products |
Redhat rhel E4s
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
ssvc
|