| Name | CVE-2024-2357 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1066059 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libreswan (PTS) | bullseye | 4.3-1+deb11u4 | vulnerable |
| bullseye (security) | 4.3-1+deb11u3 | vulnerable | |
| bookworm | 4.10-2+deb12u1 | vulnerable | |
| forky, sid, trixie | 5.2-2.2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libreswan | source | bullseye | (unfixed) | end-of-life | ||
| libreswan | source | (unstable) | 4.14-1 | 1066059 |
[bookworm] - libreswan <no-dsa> (Minor issue)
[bullseye] - libreswan <end-of-life> (see #1072527)
https://libreswan.org/security/CVE-2024-2357/CVE-2024-2357.patch
https://libreswan.org/security/CVE-2024-2357/CVE-2024-2357.txt
https://github.com/libreswan/libreswan/issues/1609
Fixed by: https://github.com/libreswan/libreswan/commit/cb9e1047d33fde695d63a95854c2bc2470a476c8