CVE-2019-12312 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/libreswan/libreswan/compare/9b1394e...3897683 | CVE | PatchThird Party Advisory |
| https://github.com/libreswan/libreswan/issues/246 | CVE | Third Party Advisory |
| https://libreswan.org/security/CVE-2019-12312/CVE-2019-12312.txt | CVE | |
| https://libreswan.org/security/CVE-2019-12312/libreswan-3.27-CVE-2019-12312.patch | CVE | |
| http://www.iwantacve.cn/index.php/archives/218/ | CVE | ExploitThird Party Advisory |
| https://github.com/libreswan/libreswan/compare/9b1394e...3897683 | [email protected] | PatchThird Party Advisory |
| https://github.com/libreswan/libreswan/issues/246 | [email protected] | Third Party Advisory |
| https://libreswan.org/security/CVE-2019-12312/CVE-2019-12312.txt | [email protected] | |
| https://libreswan.org/security/CVE-2019-12312/libreswan-3.27-CVE-2019-12312.patch | [email protected] | |
| http://www.iwantacve.cn/index.php/archives/218/ | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
| CWE-617 | Reachable Assertion | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libreswan libreswan | < 3.28 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 24, 2020 | CWE Remap | [email protected] |
| Jun 6, 2019 | CVE Modified | [email protected] |
| Jun 6, 2019 | CVE Modified | [email protected] |
| May 28, 2019 | Initial Analysis | [email protected] |