Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Libreswan | Libreswan | < 3.28 |
Related Weaknesses (CWE)
References
- http://www.iwantacve.cn/index.php/archives/218/ExploitThird Party Advisory
- https://github.com/libreswan/libreswan/compare/9b1394e...3897683PatchThird Party Advisory
- https://github.com/libreswan/libreswan/issues/246Third 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.patc
- http://www.iwantacve.cn/index.php/archives/218/ExploitThird Party Advisory
- https://github.com/libreswan/libreswan/compare/9b1394e...3897683PatchThird Party Advisory
- https://github.com/libreswan/libreswan/issues/246Third 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.patc
FAQ
What is CVE-2019-12312?
CVE-2019-12312 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 INFOR...
How severe is CVE-2019-12312?
CVE-2019-12312 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-12312?
Check the references section above for vendor advisories and patch information. Affected products include: Libreswan Libreswan.