RHSA-2024:2082MediumCVSS 5.0

Red Hat Security Advisory: libreswan security 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.8.6)
  • libreswan-0:4.5-1.el8_6.2.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.8.6)
  • libreswan-0:4.5-1.el8_6.2.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.8.6)
  • libreswan-0:4.5-1.el8_6.2.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.8.6)
  • libreswan-0:4.5-1.el8_6.2.src as a component of Red Hat Enterprise Linux AppStream EUS (v.8.6)
  • libreswan-0:4.5-1.el8_6.2.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.8.6)
  • libreswan-debuginfo-0:4.5-1.el8_6.2.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.8.6)
  • libreswan-debuginfo-0:4.5-1.el8_6.2.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.8.6)
  • libreswan-debuginfo-0:4.5-1.el8_6.2.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.8.6)
  • libreswan-debuginfo-0:4.5-1.el8_6.2.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.8.6)
  • libreswan-debugsource-0:4.5-1.el8_6.2.aarch64 as a component of Red Hat Enterprise Linux AppStream EUS (v.8.6)
  • libreswan-debugsource-0:4.5-1.el8_6.2.ppc64le as a component of Red Hat Enterprise Linux AppStream EUS (v.8.6)
  • libreswan-debugsource-0:4.5-1.el8_6.2.s390x as a component of Red Hat Enterprise Linux AppStream EUS (v.8.6)
  • libreswan-debugsource-0:4.5-1.el8_6.2.x86_64 as a component of Red Hat Enterprise Linux AppStream EUS (v.8.6)

✅ 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)