CVE-2019-12312

HIGH

libreswan < 3.28 - Denial of Service via IKEv2 INFORMATIONAL Exchange

Title source: llm
STIX 2.1

Description

In Libreswan 3.27 an assertion failure can lead to a pluto IKE daemon restart. An attacker can trigger a NULL pointer dereference by initiating an IKEv2 IKE_SA_INIT exchange, followed by a bogus INFORMATIONAL exchange instead of the normallly expected IKE_AUTH exchange. This affects send_v2N_spi_response_from_state() in programs/pluto/ikev2_send.c that will then trigger a NULL pointer dereference leading to a restart of libreswan.

References (5)

Core 5
Core References
Exploit, Third Party Advisory x_refsource_misc
http://www.iwantacve.cn/index.php/archives/218/
Third Party Advisory x_refsource_misc
https://github.com/libreswan/libreswan/issues/246
Patch, Third Party Advisory x_refsource_misc
https://github.com/libreswan/libreswan/compare/9b1394e...3897683

Scores

CVSS v3 7.5
EPSS 0.0275
EPSS Percentile 84.3%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-476 CWE-617
Status published
Products (1)
libreswan/libreswan < 3.28
Published May 24, 2019
Tracked Since Feb 18, 2026