CVE-2024-2357

NameCVE-2024-2357
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1066059

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libreswan (PTS)buster, buster (security)3.27-6+deb10u1vulnerable
bullseye4.3-1+deb11u4vulnerable
bullseye (security)4.3-1+deb11u3vulnerable
bookworm4.10-2+deb12u1vulnerable
sid4.14-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libreswansource(unstable)4.14-11066059

Notes

[bookworm] - libreswan <no-dsa> (Minor issue)
[bullseye] - libreswan <no-dsa> (Minor issue)
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

Search for package or bug name: Reporting problems