#VU87342 Error Handling in libreswan


Published: 2024-03-12

Vulnerability identifier: #VU87342

Vulnerability risk: Low

CVSSv3.1: 2.2 [CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

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
http://libreswan.org/security/CVE-2024-2357
http://github.com/libreswan/libreswan/releases/tag/v4.13


Q & A

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.


Latest bulletins with this vulnerability