Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-2357

published medium CVSS 3.1 · 6.5

IKEv2 misconfiguration can cause libreswan to abort and restart

Published
11 Mar 2024, 19:39:03 UTC
Updated
13 Feb 2025, 17:39:47 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
The Libreswan Project (www.libreswan.org) — libreswan3.0 through 4.1 (unaffected · semver) · 4.2 through 4.12 (affected · semver) · 5.0 (unaffected) · Other versions: unaffected Version-specific Not stated libreswan
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2024-587 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 libreswan Advisory build 4.12-2.el8_9.2.alma.1 ALSA-2024:1998
Alpine Linux edge libreswan Fixed 4.15-r0 Package fix record
Oracle Linux 8 libreswanaarch64 Advisory build 0:4.12-2.0.1.el8_9.2 ELSA-2024-1998
Red Hat Enterprise Linux RHEL-8 libreswanaarch64 Advisory build 4.12-2.el8_9.2 RHSA-2024:1998
AlmaLinux 9 libreswan Advisory build 4.12-1.el9_3.1.alma.1 ALSA-2024:2033
Show 95 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 9 libreswan Advisory build 4.12-2.el9_4.alma.1 ALSA-2024:2565
Alpine Linux v3.20 libreswan Fixed 4.15-r0 Package fix record
Alpine Linux v3.21 libreswan Fixed 4.15-r0 Package fix record
Alpine Linux v3.22 libreswan Fixed 4.15-r0 Package fix record
Alpine Linux v3.23 libreswan Fixed 4.15-r0 Package fix record
Alpine Linux v3.24 libreswan Fixed 4.15-r0 Package fix record
Oracle Linux 8 libreswanx86_64 Advisory build 0:4.12-2.0.1.el8_9.2 ELSA-2024-1998
Oracle Linux 9 libreswanaarch64 Advisory build 0:4.12-1.0.1.el9_3.1 ELSA-2024-2033
Oracle Linux 9 libreswanaarch64 Advisory build 0:4.12-2.0.1.el9_4 ELSA-2024-2565
Oracle Linux 9 libreswanx86_64 Advisory build 0:4.12-1.0.1.el9_3.1 ELSA-2024-2033
Oracle Linux 9 libreswanx86_64 Advisory build 0:4.12-2.0.1.el9_4 ELSA-2024-2565
Red Hat Enterprise Linux RHEL-8 libreswanaarch64 Advisory build 4.5-1.el8_6.2 RHSA-2024:2082
Red Hat Enterprise Linux RHEL-8 libreswanaarch64 Advisory build 4.9-3.el8_8.1 RHSA-2024:2081
Red Hat Enterprise Linux RHEL-8 libreswanppc64le Advisory build 4.12-2.el8_9.2 RHSA-2024:1998
Red Hat Enterprise Linux RHEL-8 libreswanppc64le Advisory build 4.5-1.el8_6.2 RHSA-2024:2082
Red Hat Enterprise Linux RHEL-8 libreswanppc64le Advisory build 4.9-3.el8_8.1 RHSA-2024:2081
Red Hat Enterprise Linux RHEL-8 libreswans390x Advisory build 4.12-2.el8_9.2 RHSA-2024:1998
Red Hat Enterprise Linux RHEL-8 libreswans390x Advisory build 4.5-1.el8_6.2 RHSA-2024:2082
Red Hat Enterprise Linux RHEL-8 libreswans390x Advisory build 4.9-3.el8_8.1 RHSA-2024:2081
Red Hat Enterprise Linux RHEL-8 libreswansrc Advisory build 4.12-2.el8_9.2 RHSA-2024:1998
Red Hat Enterprise Linux RHEL-8 libreswansrc Advisory build 4.5-1.el8_6.2 RHSA-2024:2082
Red Hat Enterprise Linux RHEL-8 libreswansrc Advisory build 4.9-3.el8_8.1 RHSA-2024:2081
Red Hat Enterprise Linux RHEL-8 libreswanx86_64 Advisory build 4.12-2.el8_9.2 RHSA-2024:1998
Red Hat Enterprise Linux RHEL-8 libreswanx86_64 Advisory build 4.5-1.el8_6.2 RHSA-2024:2082
Red Hat Enterprise Linux RHEL-8 libreswanx86_64 Advisory build 4.9-3.el8_8.1 RHSA-2024:2081
Red Hat Enterprise Linux RHEL-9 libreswanaarch64 Advisory build 4.12-1.el9_3.1 RHSA-2024:2033
Red Hat Enterprise Linux RHEL-9 libreswanaarch64 Advisory build 4.12-2.el9_4 RHSA-2024:2565
Red Hat Enterprise Linux RHEL-9 libreswanaarch64 Advisory build 4.6-3.el9_0.3 RHSA-2024:10594
Red Hat Enterprise Linux RHEL-9 libreswanaarch64 Advisory build 4.9-5.el9_2.1 RHSA-2024:2085
Red Hat Enterprise Linux RHEL-9 libreswanppc64le Advisory build 4.12-1.el9_3.1 RHSA-2024:2033
Red Hat Enterprise Linux RHEL-9 libreswanppc64le Advisory build 4.12-2.el9_4 RHSA-2024:2565
Red Hat Enterprise Linux RHEL-9 libreswanppc64le Advisory build 4.6-3.el9_0.3 RHSA-2024:10594
Red Hat Enterprise Linux RHEL-9 libreswanppc64le Advisory build 4.9-5.el9_2.1 RHSA-2024:2085
Red Hat Enterprise Linux RHEL-9 libreswans390x Advisory build 4.12-1.el9_3.1 RHSA-2024:2033
Red Hat Enterprise Linux RHEL-9 libreswans390x Advisory build 4.12-2.el9_4 RHSA-2024:2565
Red Hat Enterprise Linux RHEL-9 libreswans390x Advisory build 4.6-3.el9_0.3 RHSA-2024:10594
Red Hat Enterprise Linux RHEL-9 libreswans390x Advisory build 4.9-5.el9_2.1 RHSA-2024:2085
Red Hat Enterprise Linux RHEL-9 libreswansrc Advisory build 4.12-1.el9_3.1 RHSA-2024:2033
Red Hat Enterprise Linux RHEL-9 libreswansrc Advisory build 4.12-2.el9_4 RHSA-2024:2565
Red Hat Enterprise Linux RHEL-9 libreswansrc Advisory build 4.6-3.el9_0.3 RHSA-2024:10594
Red Hat Enterprise Linux RHEL-9 libreswansrc Advisory build 4.9-5.el9_2.1 RHSA-2024:2085
Red Hat Enterprise Linux RHEL-9 libreswanx86_64 Advisory build 4.12-1.el9_3.1 RHSA-2024:2033
Red Hat Enterprise Linux RHEL-9 libreswanx86_64 Advisory build 4.12-2.el9_4 RHSA-2024:2565
Red Hat Enterprise Linux RHEL-9 libreswanx86_64 Advisory build 4.6-3.el9_0.3 RHSA-2024:10594
Red Hat Enterprise Linux RHEL-9 libreswanx86_64 Advisory build 4.9-5.el9_2.1 RHSA-2024:2085
Red Hat Enterprise Linux RHEL-8 libreswan-debuginfoaarch64 Advisory build 4.12-2.el8_9.2 RHSA-2024:1998
Red Hat Enterprise Linux RHEL-8 libreswan-debuginfoaarch64 Advisory build 4.5-1.el8_6.2 RHSA-2024:2082
Red Hat Enterprise Linux RHEL-8 libreswan-debuginfoaarch64 Advisory build 4.9-3.el8_8.1 RHSA-2024:2081
Red Hat Enterprise Linux RHEL-8 libreswan-debuginfoppc64le Advisory build 4.12-2.el8_9.2 RHSA-2024:1998
Red Hat Enterprise Linux RHEL-8 libreswan-debuginfoppc64le Advisory build 4.5-1.el8_6.2 RHSA-2024:2082
Red Hat Enterprise Linux RHEL-8 libreswan-debuginfoppc64le Advisory build 4.9-3.el8_8.1 RHSA-2024:2081
Red Hat Enterprise Linux RHEL-8 libreswan-debuginfos390x Advisory build 4.12-2.el8_9.2 RHSA-2024:1998
Red Hat Enterprise Linux RHEL-8 libreswan-debuginfos390x Advisory build 4.5-1.el8_6.2 RHSA-2024:2082
Red Hat Enterprise Linux RHEL-8 libreswan-debuginfos390x Advisory build 4.9-3.el8_8.1 RHSA-2024:2081
Red Hat Enterprise Linux RHEL-8 libreswan-debuginfox86_64 Advisory build 4.12-2.el8_9.2 RHSA-2024:1998
Red Hat Enterprise Linux RHEL-8 libreswan-debuginfox86_64 Advisory build 4.5-1.el8_6.2 RHSA-2024:2082
Red Hat Enterprise Linux RHEL-8 libreswan-debuginfox86_64 Advisory build 4.9-3.el8_8.1 RHSA-2024:2081
Red Hat Enterprise Linux RHEL-8 libreswan-debugsourceaarch64 Advisory build 4.12-2.el8_9.2 RHSA-2024:1998
Red Hat Enterprise Linux RHEL-8 libreswan-debugsourceaarch64 Advisory build 4.5-1.el8_6.2 RHSA-2024:2082
Red Hat Enterprise Linux RHEL-8 libreswan-debugsourceaarch64 Advisory build 4.9-3.el8_8.1 RHSA-2024:2081
Red Hat Enterprise Linux RHEL-8 libreswan-debugsourceppc64le Advisory build 4.12-2.el8_9.2 RHSA-2024:1998
Red Hat Enterprise Linux RHEL-8 libreswan-debugsourceppc64le Advisory build 4.5-1.el8_6.2 RHSA-2024:2082
Red Hat Enterprise Linux RHEL-8 libreswan-debugsourceppc64le Advisory build 4.9-3.el8_8.1 RHSA-2024:2081
Red Hat Enterprise Linux RHEL-8 libreswan-debugsources390x Advisory build 4.12-2.el8_9.2 RHSA-2024:1998
Red Hat Enterprise Linux RHEL-8 libreswan-debugsources390x Advisory build 4.5-1.el8_6.2 RHSA-2024:2082
Red Hat Enterprise Linux RHEL-8 libreswan-debugsources390x Advisory build 4.9-3.el8_8.1 RHSA-2024:2081
Red Hat Enterprise Linux RHEL-8 libreswan-debugsourcex86_64 Advisory build 4.12-2.el8_9.2 RHSA-2024:1998
Red Hat Enterprise Linux RHEL-8 libreswan-debugsourcex86_64 Advisory build 4.5-1.el8_6.2 RHSA-2024:2082
Red Hat Enterprise Linux RHEL-8 libreswan-debugsourcex86_64 Advisory build 4.9-3.el8_8.1 RHSA-2024:2081
Red Hat Enterprise Linux RHEL-9 libreswan-debuginfoaarch64 Advisory build 4.12-1.el9_3.1 RHSA-2024:2033
Red Hat Enterprise Linux RHEL-9 libreswan-debuginfoaarch64 Advisory build 4.12-2.el9_4 RHSA-2024:2565
Red Hat Enterprise Linux RHEL-9 libreswan-debuginfoaarch64 Advisory build 4.6-3.el9_0.3 RHSA-2024:10594
Red Hat Enterprise Linux RHEL-9 libreswan-debuginfoaarch64 Advisory build 4.9-5.el9_2.1 RHSA-2024:2085
Red Hat Enterprise Linux RHEL-9 libreswan-debuginfoppc64le Advisory build 4.12-1.el9_3.1 RHSA-2024:2033
Red Hat Enterprise Linux RHEL-9 libreswan-debuginfoppc64le Advisory build 4.12-2.el9_4 RHSA-2024:2565
Red Hat Enterprise Linux RHEL-9 libreswan-debuginfoppc64le Advisory build 4.6-3.el9_0.3 RHSA-2024:10594
Red Hat Enterprise Linux RHEL-9 libreswan-debuginfoppc64le Advisory build 4.9-5.el9_2.1 RHSA-2024:2085
Red Hat Enterprise Linux RHEL-9 libreswan-debuginfos390x Advisory build 4.12-1.el9_3.1 RHSA-2024:2033
Red Hat Enterprise Linux RHEL-9 libreswan-debuginfos390x Advisory build 4.12-2.el9_4 RHSA-2024:2565
Red Hat Enterprise Linux RHEL-9 libreswan-debuginfos390x Advisory build 4.6-3.el9_0.3 RHSA-2024:10594
Red Hat Enterprise Linux RHEL-9 libreswan-debuginfos390x Advisory build 4.9-5.el9_2.1 RHSA-2024:2085
Red Hat Enterprise Linux RHEL-9 libreswan-debuginfox86_64 Advisory build 4.12-1.el9_3.1 RHSA-2024:2033
Red Hat Enterprise Linux RHEL-9 libreswan-debuginfox86_64 Advisory build 4.12-2.el9_4 RHSA-2024:2565
Red Hat Enterprise Linux RHEL-9 libreswan-debuginfox86_64 Advisory build 4.6-3.el9_0.3 RHSA-2024:10594
Red Hat Enterprise Linux RHEL-9 libreswan-debuginfox86_64 Advisory build 4.9-5.el9_2.1 RHSA-2024:2085
Red Hat Enterprise Linux RHEL-9 libreswan-debugsourceaarch64 Advisory build 4.12-1.el9_3.1 RHSA-2024:2033
Red Hat Enterprise Linux RHEL-9 libreswan-debugsourceaarch64 Advisory build 4.12-2.el9_4 RHSA-2024:2565
Red Hat Enterprise Linux RHEL-9 libreswan-debugsourceaarch64 Advisory build 4.6-3.el9_0.3 RHSA-2024:10594
Red Hat Enterprise Linux RHEL-9 libreswan-debugsourceaarch64 Advisory build 4.9-5.el9_2.1 RHSA-2024:2085
Red Hat Enterprise Linux RHEL-9 libreswan-debugsourceppc64le Advisory build 4.12-1.el9_3.1 RHSA-2024:2033
Red Hat Enterprise Linux RHEL-9 libreswan-debugsourceppc64le Advisory build 4.12-2.el9_4 RHSA-2024:2565
Red Hat Enterprise Linux RHEL-9 libreswan-debugsourceppc64le Advisory build 4.6-3.el9_0.3 RHSA-2024:10594
Red Hat Enterprise Linux RHEL-9 libreswan-debugsourceppc64le Advisory build 4.9-5.el9_2.1 RHSA-2024:2085
Red Hat Enterprise Linux RHEL-9 libreswan-debugsources390x Advisory build 4.12-1.el9_3.1 RHSA-2024:2033
Red Hat Enterprise Linux RHEL-9 libreswan-debugsources390x Advisory build 4.12-2.el9_4 RHSA-2024:2565

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · libreswan · cna

Vendor advisories explicitly linked to this CVE.

22

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.5 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
The Libreswan Project (www.libreswan.org) libreswan 3.0 through 4.1 (unaffected · semver)4.2 through 4.12 (affected · semver)5.0 (unaffected)Default: unaffected libreswan · cna

Weaknesses

2
  • IKEv2 misconfiguration can cause libreswan to abort and restart (libreswan · cna)
  • CWE-noinfo Not enough information (CISA-ADP · adp)

References

4

Provider assertions

3

libreswan · cna

IKEv2 misconfiguration can cause libreswan to abort and restart

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
bc27a50eb02550ed7e9180140655c0e505ea6c3678a348eb6f0094f79bfd8fa6
Ingested
23 Sep 2026, 08:21:43 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected