NULL pointer dereference in Libreswan
CVE-2019-12312
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.027 (85.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 85.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.027 · newest: 0.027 · change: 0.000
Affected products
Weakness classification (CWE)
References
- www.iwantacve.cn/index.php/archives/218/ (Exploit, Third Party Advisory)
- github.com/libreswan/libreswan/issues/246 (Third Party Advisory)
- github.com/libreswan/libreswan/compare/9b1394e...3897683 (Patch, 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
Frequently asked questions
- What is CVE-2019-12312?
- CVE-2019-12312 is a high-severity vulnerability in Libreswan, classified under NULL Pointer Dereference. CVSS score: 7.5/10. Published 2019-05-24.
- How severe is CVE-2019-12312?
- High severity. CVSS v3 base score is 7.5 out of 10.