{"id":"CVE-2024-2357","published":"2024-03-11T19:39:03Z","modified":"2025-02-13T17:39:47Z","title":"IKEv2 misconfiguration can cause libreswan to abort and restart","vendor":"The Libreswan Project (www.libreswan.org)","product":"libreswan","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00952,"percentile":0.6217,"provenance":"source"},"cwes":[],"references":[{"url":"https://libreswan.org/security/CVE-2024-2357","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EJZJYFHKBIJ4ZK5GAWWFFR3AKJS6O5JX/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HEM46ALKF7NG6CAUKZ7KQERVOHWQIQKY/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TVQ7MZY6LFFGRWAJNTKKN2VSEFS2VPAR/","tags":[]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":12.43},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"the-libreswan-project-www-libreswan-org","affectedVersions":[{"vendor":"The Libreswan Project (www.libreswan.org)","product":"libreswan","versions":[">= 4.2, <= 4.12"]}],"fixedVersions":[{"vendor":"The Libreswan Project (www.libreswan.org)","product":"libreswan","versions":["5.0"]}],"solutions":{"items":["This issue is fixed in 4.13, 5.0 and all later versions."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["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."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-12T16:21:48.798359Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-27310","exploited":false,"provenance":"source"}}