CVE catalog

CVE-2024-2357

libreswan: CVE-2024-2357

[CVE catalog]

Severity
Medium · CVSS 5CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.95% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibreswansid5.2-2.5fixed
Debianlibreswanforky5.2-2.5fixed
Debianlibreswantrixie5.2-2.2fixed
Debianlibreswanbookworm4.10-2+deb12u1vulnerable
Ubuntulibreswan18.043.20-7build1vulnerable
Ubuntulibreswan18.043.21-2vulnerable
Ubuntulibreswan18.043.22-1vulnerable
Ubuntulibreswan18.043.22-2vulnerable
Ubuntulibreswan18.043.22-3vulnerable
Ubuntulibreswan18.043.22-4vulnerable
Ubuntulibreswan18.043.23-1vulnerable
Ubuntulibreswan18.043.23-4vulnerable
Ubuntulibreswan20.043.29-2vulnerable
Ubuntulibreswan20.043.29-2build1vulnerable
Ubuntulibreswan22.043.32-3ubuntu3vulnerable
Ubuntulibreswan24.044.11-1ubuntu1vulnerable
Ubuntulibreswan24.044.12-1ubuntu1vulnerable
Ubuntulibreswan24.044.14-1ubuntu1vulnerable
Ubuntulibreswan24.044.14-1ubuntu2vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibreswansourcesid4.14-1not yet assignedNot reported[1066059]
Debianlibreswansourceforky4.14-1not yet assignedNot reported[1066059]
Debianlibreswansourcetrixie4.14-1not yet assignedNot reported[1066059]
Debianlibreswansourcebookworm(unfixed)not yet assignedNot reported[1066059]

[Debian bug #1066059]

Notes

[bookworm] libreswan: Minor issue

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References