CVE-2019-12312

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:*

History

21 Nov 2024, 04:22

Type Values Removed Values Added
References () http://www.iwantacve.cn/index.php/archives/218/ - Exploit, Third Party Advisory () http://www.iwantacve.cn/index.php/archives/218/ - Exploit, Third Party Advisory
References () https://github.com/libreswan/libreswan/compare/9b1394e...3897683 - Patch, Third Party Advisory () https://github.com/libreswan/libreswan/compare/9b1394e...3897683 - Patch, Third Party Advisory
References () https://github.com/libreswan/libreswan/issues/246 - Third Party Advisory () https://github.com/libreswan/libreswan/issues/246 - Third Party Advisory
References () https://libreswan.org/security/CVE-2019-12312/CVE-2019-12312.txt - () https://libreswan.org/security/CVE-2019-12312/CVE-2019-12312.txt -
References () https://libreswan.org/security/CVE-2019-12312/libreswan-3.27-CVE-2019-12312.patch - () https://libreswan.org/security/CVE-2019-12312/libreswan-3.27-CVE-2019-12312.patch -

Information

Published : 2019-05-24 14:29

Updated : 2024-11-21 04:22


NVD link : CVE-2019-12312

Mitre link : CVE-2019-12312

CVE.ORG link : CVE-2019-12312


JSON object : View

Products Affected

libreswan

  • libreswan
CWE
CWE-476

NULL Pointer Dereference

CWE-617

Reachable Assertion