RHSA-2024:2085MediumCVSS 5.0

Red Hat Security Advisory: libreswan security and bug fix update

Published
April 30, 2024
Last Modified
November 7, 2026

🔗 CVE IDs covered (1)

📋 Description

CVE-2024-2357 — libreswan: Missing PreSharedKey for connection can cause crash

🎯 Affected products14

  • Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • libreswan-0:4.9-5.el9_2.1.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • libreswan-0:4.9-5.el9_2.1.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • libreswan-0:4.9-5.el9_2.1.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • libreswan-0:4.9-5.el9_2.1.src as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • libreswan-0:4.9-5.el9_2.1.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • libreswan-debuginfo-0:4.9-5.el9_2.1.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • libreswan-debuginfo-0:4.9-5.el9_2.1.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • libreswan-debuginfo-0:4.9-5.el9_2.1.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • libreswan-debuginfo-0:4.9-5.el9_2.1.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • libreswan-debugsource-0:4.9-5.el9_2.1.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • libreswan-debugsource-0:4.9-5.el9_2.1.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • libreswan-debugsource-0:4.9-5.el9_2.1.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)
  • libreswan-debugsource-0:4.9-5.el9_2.1.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.9.2)

✅ Remediation

For details on how to apply this update, 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 (4)