CVEvulnerability
CVE-2019-12312
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2019-05-24
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-476, CWE-617
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.
Affected configurations
• libreswan libreswan (< 3.28)
Related
References
- 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 libreswan.org
- https://libreswan.org/security/CVE-2019-12312/libreswan-3.27-CVE-2019-12312.patch libreswan.org
- 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 libreswan.org
- https://libreswan.org/security/CVE-2019-12312/libreswan-3.27-CVE-2019-12312.patch libreswan.org