Every CVE Search/ Get API key

CVE-2024-2357

IKEv2 misconfiguration can cause libreswan to abort and restart

6.5 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.95%Up 0.9 points since Mar 12, 2024
90%50%10%1%

What each source reports

CVE List Score used 6.5

IKEv2 misconfiguration can cause libreswan to abort and restart

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.

Record
CVE-2024-2357
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
EUVDEUVD-2024-27310 6.5

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.

Record
EUVD-2024-27310
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
GitHub AdvisoriesGHSA-77h7-8788-mfv3 6.5

The Libreswan Project was notified of an issue causing libreswan to restart under some IKEv2...

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.

Record
GHSA-77h7-8788-mfv3
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
NVD 6.5

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.

Record
CVE-2024-2357
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVALPINE-CVE-2024-2357 6.5

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.

Record
ALPINE-CVE-2024-2357
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSVDEBIAN-CVE-2024-2357 6.5

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.

Record
DEBIAN-CVE-2024-2357
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-06
Show 22 moreShow less
OSVOESA-2024-1341 3.5

libreswan security update

Libreswan is an implementation of IKEv1 and IKEv2 for IPsec. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks. Everything passing through the untrusted net is encrypted by the ipsec gateway machine and decrypted by the gateway at the other end of the tunnel. The resulting tunnel is a virtual private network or VPN.

Security Fix(es):

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.(CVE-2024-2357)

Record
OESA-2024-1341
CVSS 3.1
3.5 LowCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVOESA-2024-1409 3.5

libreswan security update

Libreswan is an implementation of IKEv1 and IKEv2 for IPsec. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks. Everything passing through the untrusted net is encrypted by the ipsec gateway machine and decrypted by the gateway at the other end of the tunnel. The resulting tunnel is a virtual private network or VPN.

Security Fix(es):

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.(CVE-2024-2357)

Record
OESA-2024-1409
CVSS 3.1
3.5 LowCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVRHBA-2024:11505 7.5

Red Hat Bug Fix Advisory: OpenShift Container Platform 4.16.28 packages and security update

Record
RHBA-2024:11505
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHBA-2024:11525 7.5

Red Hat Bug Fix Advisory: OpenShift Container Platform 4.17.10 packages and security update

Record
RHBA-2024:11525
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHBA-2024:11565 7.5

Red Hat Bug Fix Advisory: OpenShift Container Platform 4.15.42 packages update

Record
RHBA-2024:11565
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:10594 7.5

Red Hat Security Advisory: libreswan security update

Record
RHSA-2024:10594
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:1998 5.0

Red Hat Security Advisory: libreswan security update

Record
RHSA-2024:1998
CVSS 3.1
5.0 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:2033 5.0

Red Hat Security Advisory: libreswan security and bug fix update

Record
RHSA-2024:2033
CVSS 3.1
5.0 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:2081 5.0

Red Hat Security Advisory: libreswan security update

Record
RHSA-2024:2081
CVSS 3.1
5.0 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:2082 5.0

Red Hat Security Advisory: libreswan security update

Record
RHSA-2024:2082
CVSS 3.1
5.0 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:2085 5.0

Red Hat Security Advisory: libreswan security and bug fix update

Record
RHSA-2024:2085
CVSS 3.1
5.0 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2024:2565 5.0

Red Hat Security Advisory: libreswan security update

Record
RHSA-2024:2565
CVSS 3.1
5.0 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2024-2357 6.5

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.

Record
UBUNTU-CVE-2024-2357
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVALSA-2024:1998 No score

Moderate: libreswan security update

Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).

Security Fix(es):

  • libreswan: Missing PreSharedKey for connection can cause crash (CVE-2024-2357)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2024:1998
Updated
2026-11-02
OSVALSA-2024:2033 No score

Moderate: libreswan security and bug fix update

Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).

Security Fix(es):

  • libreswan: Missing PreSharedKey for connection can cause crash (CVE-2024-2357)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2024:2033
Updated
2026-11-02
OSVALSA-2024:2565 No score

Moderate: libreswan security update

Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).

Security Fix(es):

  • libreswan: Missing PreSharedKey for connection can cause crash (CVE-2024-2357)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
ALSA-2024:2565
Updated
2026-11-02
OSVAZL-35885 No score

CVE-2024-2357 affecting package libreswan for versions less than 4.15-1

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.

Record
AZL-35885
Updated
2026-11-05
OSVCLSA-2025-1764957598 No score

libreswan: Fix of CVE-2024-2357

  • Update libreswan to 4.12-2 to include not compatible CVE fix CVE-2024-2357 after the version 4.9
  • CVE-2024-2357: fix crash in IKEv2 when a missing PreSharedKey triggers repeated pluto restarts
Record
CLSA-2025-1764957598
Updated
2026-11-02
OSV No score

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.

Record
CVE-2024-2357
Updated
2026-11-02
OSVMGASA-2024-0113 No score

Updated libreswan packages fix security vulnerabilities

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. (CVE-2024-2357)

Record
MGASA-2024-0113
Updated
2026-11-02
OSVRLSA-2024:1998 No score

Moderate: libreswan security update

Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).

Security Fix(es):

  • libreswan: Missing PreSharedKey for connection can cause crash (CVE-2024-2357)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2024:1998
Updated
2026-11-02
OSVRLSA-2024:2565 No score

Moderate: libreswan security update

Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).

Security Fix(es):

  • libreswan: Missing PreSharedKey for connection can cause crash (CVE-2024-2357)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Record
RLSA-2024:2565
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libreswan
Alpine:v3.20
before 4.15-r0
4.15-r0
libreswan
Alpine:v3.21
before 4.15-r0
4.15-r0
libreswan
Alpine:v3.22
before 4.15-r0
4.15-r0
libreswan
Alpine:v3.23
before 4.15-r0
4.15-r0
libreswan
Alpine:v3.24
before 4.15-r0
4.15-r0
libreswan
AlmaLinux:8
before 4.12-2.el8_9.2.alma.1
4.12-2.el8_9.2.alma.1
libreswan
AlmaLinux:9
before 4.12-1.el9_3.1.alma.1
4.12-1.el9_3.1.alma.1
libreswan
AlmaLinux:9
before 4.12-2.el9_4.alma.1
4.12-2.el9_4.alma.1
libreswan
Azure Linux:3
before 4.15-1
4.15-1
libreswan
TuxCare:AlmaLinux:9.2
before 4.12-2.el9_2.tuxcare.els1
4.12-2.el9_2.tuxcare.els1
Show 45 moreShow less
Affected packages
PackageAffectedFixed
libreswan
Debian:12
All versions, plus listed versions
4.10-24.10-2+deb12u14.11-14.12-14.12-2
Show 13 moreShow less
4.12-34.14-14.14-1.14.15-15.0~rc2-15.0~rc2-25.2-15.2-25.2-2.15.2-2.25.2-2.35.2-2.45.2-2.5
None known
libreswan
Debian:13
before 4.14-1
4.14-1
libreswan
Mageia:9
before 4.14-1.mga9
4.14-1.mga9
libreswan
openEuler:20.03-LTS-SP1
before 4.14-1.oe1
4.14-1.oe1
libreswan
openEuler:20.03-LTS-SP4
before 4.14-1.oe2003sp4
4.14-1.oe2003sp4
libreswan
openEuler:22.03-LTS
before 4.14-1.oe2203sp3
4.14-1.oe2203sp3
libreswan
openEuler:22.03-LTS-SP2
before 4.14-1.oe2203sp2
4.14-1.oe2203sp2
libreswan
openEuler:22.03-LTS-SP3
before 4.14-1.oe2203sp3
4.14-1.oe2203sp3
libreswan
openEuler:22.03-LTS-SP1
before 4.14-1.oe2203sp1
4.14-1.oe2203sp1
libreswan
Red Hat:openshift:4.16::el9
From an advisory covering 8 CVEs
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debuginfo
Red Hat:openshift:4.16::el9
From an advisory covering 8 CVEs
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debugsource
Red Hat:openshift:4.16::el9
From an advisory covering 8 CVEs
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan
Red Hat:openshift:4.17::el9
From an advisory covering 8 CVEs
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debuginfo
Red Hat:openshift:4.17::el9
From an advisory covering 8 CVEs
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debugsource
Red Hat:openshift:4.17::el9
From an advisory covering 8 CVEs
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan
Red Hat:openshift:4.15::el9
From an advisory covering 8 CVEs
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debuginfo
Red Hat:openshift:4.15::el9
From an advisory covering 8 CVEs
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debugsource
Red Hat:openshift:4.15::el9
From an advisory covering 8 CVEs
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan
Red Hat:rhel_e4s:9.0::appstream
From an advisory covering 6 CVEs
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debuginfo
Red Hat:rhel_e4s:9.0::appstream
From an advisory covering 6 CVEs
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan-debugsource
Red Hat:rhel_e4s:9.0::appstream
From an advisory covering 6 CVEs
before 0:4.6-3.el9_0.3
0:4.6-3.el9_0.3
libreswan
Red Hat:enterprise_linux:8::appstream
before 0:4.12-2.el8_9.2
0:4.12-2.el8_9.2
libreswan-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:4.12-2.el8_9.2
0:4.12-2.el8_9.2
libreswan-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:4.12-2.el8_9.2
0:4.12-2.el8_9.2
libreswan
Red Hat:enterprise_linux:9::appstream
before 0:4.12-1.el9_3.1
0:4.12-1.el9_3.1
libreswan-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:4.12-1.el9_3.1
0:4.12-1.el9_3.1
libreswan-debugsource
Red Hat:enterprise_linux:9::appstream
before 0:4.12-1.el9_3.1
0:4.12-1.el9_3.1
libreswan
Red Hat:rhel_eus:8.8::appstream
before 0:4.9-3.el8_8.1
0:4.9-3.el8_8.1
libreswan-debuginfo
Red Hat:rhel_eus:8.8::appstream
before 0:4.9-3.el8_8.1
0:4.9-3.el8_8.1
libreswan-debugsource
Red Hat:rhel_eus:8.8::appstream
before 0:4.9-3.el8_8.1
0:4.9-3.el8_8.1
libreswan
Red Hat:rhel_eus:8.6::appstream
before 0:4.5-1.el8_6.2
0:4.5-1.el8_6.2
libreswan-debuginfo
Red Hat:rhel_eus:8.6::appstream
before 0:4.5-1.el8_6.2
0:4.5-1.el8_6.2
libreswan-debugsource
Red Hat:rhel_eus:8.6::appstream
before 0:4.5-1.el8_6.2
0:4.5-1.el8_6.2
libreswan
Red Hat:rhel_eus:9.2::appstream
before 0:4.9-5.el9_2.1
0:4.9-5.el9_2.1
libreswan-debuginfo
Red Hat:rhel_eus:9.2::appstream
before 0:4.9-5.el9_2.1
0:4.9-5.el9_2.1
libreswan-debugsource
Red Hat:rhel_eus:9.2::appstream
before 0:4.9-5.el9_2.1
0:4.9-5.el9_2.1
libreswan
Red Hat:enterprise_linux:9::appstream
before 0:4.12-2.el9_4
0:4.12-2.el9_4
libreswan-debuginfo
Red Hat:enterprise_linux:9::appstream
before 0:4.12-2.el9_4
0:4.12-2.el9_4
libreswan-debugsource
Red Hat:enterprise_linux:9::appstream
before 0:4.12-2.el9_4
0:4.12-2.el9_4
libreswan
Rocky Linux:8
before 0:4.12-2.el8_9.2
0:4.12-2.el8_9.2
libreswan
Rocky Linux:9
before 0:4.12-2.el9_4
0:4.12-2.el9_4
libreswan
Ubuntu:18.04:LTS
All versions, plus listed versions
3.20-7build13.21-23.22-13.22-23.22-33.22-43.23-13.23-4
None known
libreswan
Ubuntu:20.04:LTS
All versions, plus listed versions
3.29-23.29-2build1
None known
libreswan
Ubuntu:22.04:LTS
All versions, plus listed versions
3.32-3ubuntu3
None known
libreswan
Ubuntu:24.04:LTS
All versions, plus listed versions
4.11-1ubuntu14.12-1ubuntu14.14-1ubuntu14.14-1ubuntu2
None known

History

History
RecordedChangedSources
affectedOSV
affected
factsOSV
affected, aliases, referencesOSV
aliases, publishedEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-2357 is a medium vulnerability (CVSS 6.5) in The Libreswan Project (www.libreswan.org) Libreswan, published March 11, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.95%, the 61st percentile. Fixed in libreswan 4.15-r0.

References

Show 78 moreShow less
MoveEnter Open