CVE-2019-12312
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
24/05/2019
Last modified:
24/08/2020
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.
Impact
Base Score 3.x
7.50
Severity 3.x
HIGH
Base Score 2.0
5.00
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:* | 3.28 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://www.iwantacve.cn/index.php/archives/218/
- https://github.com/libreswan/libreswan/compare/9b1394e...3897683
- https://github.com/libreswan/libreswan/issues/246
- https://libreswan.org/security/CVE-2019-12312/CVE-2019-12312.txt
- https://libreswan.org/security/CVE-2019-12312/libreswan-3.27-CVE-2019-12312.patch



