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
Link | Resource |
---|---|
http://www.iwantacve.cn/index.php/archives/218/ | Exploit Third Party Advisory |
https://github.com/libreswan/libreswan/compare/9b1394e...3897683 | Patch Third Party Advisory |
https://github.com/libreswan/libreswan/issues/246 | Third Party Advisory |
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 |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2019-05-24T13:06:41
Updated: 2019-06-06T18:51:42
Reserved: 2019-05-24T00:00:00
Link: CVE-2019-12312
JSON object: View
NVD Information
Status : Modified
Published: 2019-05-24T14:29:00.230
Modified: 2020-08-24T17:37:01.140
Link: CVE-2019-12312
JSON object: View
Redhat Information
No data.