Red Hat Security Advisory: libreswan security update
🔗 CVE IDs covered (6)
📋 Description
CVE-2023-2295 — libreswan: Regression of CVE-2023-30570 fixes in the Red Hat Enterprise Linux CVE-2023-23009 — libreswan: remote DoS via crafted TS payload with an incorrect selector length CVE-2023-38710 — libreswan: Invalid IKEv2 REKEY proposal causes restart CVE-2023-38711 — libreswan: Invalid IKEv1 Quick Mode ID causes restart CVE-2023-38712 — libreswan: Invalid IKEv1 repeat IKE SA delete causes crash and restart CVE-2024-2357 — libreswan: Missing PreSharedKey for connection can cause crash
🎯 Affected products14
- Red Hat Enterprise Linux AppStream E4S (v.9.0)
- libreswan-0:4.6-3.el9_0.3.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- libreswan-0:4.6-3.el9_0.3.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- libreswan-0:4.6-3.el9_0.3.s390x as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- libreswan-0:4.6-3.el9_0.3.src as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- libreswan-0:4.6-3.el9_0.3.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- libreswan-debuginfo-0:4.6-3.el9_0.3.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- libreswan-debuginfo-0:4.6-3.el9_0.3.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- libreswan-debuginfo-0:4.6-3.el9_0.3.s390x as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- libreswan-debuginfo-0:4.6-3.el9_0.3.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- libreswan-debugsource-0:4.6-3.el9_0.3.aarch64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- libreswan-debugsource-0:4.6-3.el9_0.3.ppc64le as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- libreswan-debugsource-0:4.6-3.el9_0.3.s390x as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
- libreswan-debugsource-0:4.6-3.el9_0.3.x86_64 as a component of Red Hat Enterprise Linux AppStream E4S (v.9.0)
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: As a workaround to prevent the misconfiguration from causing the crash, place an unguessable long random "catch-all" secret in /etc/ipsec.secrets, for example, using the following command: echo -e "# CVE-2024-2357 workaround\n: 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.
🔗 References (8)
- selfhttps://access.redhat.com/errata/RHSA-2024:10594
- externalhttps://access.redhat.com/security/updates/classification/#moderate
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2173610
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2215952
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2225368
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2225369
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2268952
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_10594.json