#VU27711 NULL pointer dereference in libreswan - CVE-2019-12312
Published: May 12, 2020
libreswan
libreswan.org
Description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dereference issue within the send_v2N_spi_response_from_state() function in programs/pluto/ikev2_send.c. A remote attacker can cause an assertion failure by initiating an IKEv2 IKE_SA_INIT exchange, followed by a bogus INFORMATIONAL exchange instead of the expected IKE_AUTH exchange and cause the pluto IKE daemon to restart.
Remediation
External links
- 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