
CVE catalog
CVE-2024-2357
libreswan: CVE-2024-2357
- Severity
- Medium · CVSS 5
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libreswan | sid | 5.2-2.5 | fixed |
| Debian | libreswan | forky | 5.2-2.5 | fixed |
| Debian | libreswan | trixie | 5.2-2.2 | fixed |
| Debian | libreswan | bookworm | 4.10-2+deb12u1 | vulnerable |
| Ubuntu | libreswan | 18.04 | 3.20-7build1 | vulnerable |
| Ubuntu | libreswan | 18.04 | 3.21-2 | vulnerable |
| Ubuntu | libreswan | 18.04 | 3.22-1 | vulnerable |
| Ubuntu | libreswan | 18.04 | 3.22-2 | vulnerable |
| Ubuntu | libreswan | 18.04 | 3.22-3 | vulnerable |
| Ubuntu | libreswan | 18.04 | 3.22-4 | vulnerable |
| Ubuntu | libreswan | 18.04 | 3.23-1 | vulnerable |
| Ubuntu | libreswan | 18.04 | 3.23-4 | vulnerable |
| Ubuntu | libreswan | 20.04 | 3.29-2 | vulnerable |
| Ubuntu | libreswan | 20.04 | 3.29-2build1 | vulnerable |
| Ubuntu | libreswan | 22.04 | 3.32-3ubuntu3 | vulnerable |
| Ubuntu | libreswan | 24.04 | 4.11-1ubuntu1 | vulnerable |
| Ubuntu | libreswan | 24.04 | 4.12-1ubuntu1 | vulnerable |
| Ubuntu | libreswan | 24.04 | 4.14-1ubuntu1 | vulnerable |
| Ubuntu | libreswan | 24.04 | 4.14-1ubuntu2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libreswan | source | sid | 4.14-1 | not yet assigned | Not reported | [1066059] |
| Debian | libreswan | source | forky | 4.14-1 | not yet assigned | Not reported | [1066059] |
| Debian | libreswan | source | trixie | 4.14-1 | not yet assigned | Not reported | [1066059] |
| Debian | libreswan | source | bookworm | (unfixed) | not yet assigned | Not reported | [1066059] |
Notes
[bookworm] libreswan: Minor issue
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://access.redhat.com/errata/RHBA-2024:11505]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2024_1998.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2024-2357]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-2357]
- [https://security-tracker.debian.org/tracker/CVE-2024-2357]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0950.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]