VDB

CVE-2024-2357

CVE-2024-2357 PUBLISHED CVSS 6.5 MEDIUM

IKEv2 misconfiguration can cause libreswan to abort and restart

Reported by libreswan · Published March 11, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libreswanAmazon Linux4.12-3.amzn2023.0.1
libreswanAlpine4.15-r0
libreswanThe Libreswan Project (www.libreswan.org)4.12

Risk scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
The Libreswan Project (www.libreswan.org)libreswan3.0, 4.2, 5.0
amazon:2023libreswan0
alpinelibreswan0
The Libreswan Project (www.libreswan.org)libreswan4.2, 5.0, 3.0

Timeline

  • Mar 11, 2024 CVE Published
  • Mar 12, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (7 in total, the first dated here)
  • Feb 13, 2025 CVE Updated
  • Jun 2, 2026 Security Advisory (8 in total, the first dated here)
  • Oct 30, 2026 Distribution Patch (7 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-2357
vulnetix vdb fixes CVE-2024-2357

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-2357/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›