Vulnerabilities · 2019 · Libreswan
CVE-2019-12312
Libreswan vulnerability
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.
Affected products
Libreswan. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libreswan runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/libreswan/libreswan/compare/9b1394e...3897683 · Patch
- www.iwantacve.cn/index.php/archives/218/ · Exploit
- github.com/libreswan/libreswan/issues/246 · Third Party Advisory
- libreswan.org/security/CVE-2019-12312/CVE-2019-12312.txt
- libreswan.org/security/CVE-2019-12312/libreswan-3.27-CVE-2019-12312.patch
- nvd.nist.gov/vuln/detail/CVE-2019-12312
- cve.org/CVERecord?id=CVE-2019-12312
More vulnerabilities in Libreswan products
CVE-2024-3652CVE-2023-38712CVE-2023-38711CVE-2023-38710CVE-2023-30570CVE-2023-23009CVE-2023-2295CVE-2022-23094All 21
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.