Vulnerability identifier: #VU87342
Vulnerability risk: Low
CVSSv4.0: 0.4 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear]
CVE-ID: CVE-2024-2357
CWE-ID:
CWE-388
Exploitation vector: Local
Exploit availability: No
Vulnerable software:
libreswan
Universal components / Libraries /
Libraries used by multiple products
Vendor: libreswan.org
Description
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to incorrect handling of a missing PreSharedKey when a connection is configured to use reSharedKeys (authby=secret) and the connection cannot find a matching configured secret. When such a connection is automatically added on startup sing the auto= keyword, it can cause repeated crashes leading to a denial of service.Mitigation
Install updates from vendor's website.
Vulnerable software versions
libreswan: 4.2 - 4.12
External links
https://libreswan.org/security/CVE-2024-2357
https://github.com/libreswan/libreswan/releases/tag/v4.13
Can this vulnerability be exploited remotely?
No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.