National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2019-12312 Detail

Current 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.

Source:  MITRE
View Analysis Description

Impact

CVSS v3.0 Severity and Metrics:

Base Score: 7.5 HIGH
Vector: AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (V3 legend)
Impact Score: 3.6
Exploitability Score: 3.9


Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope (S): Unchanged
Confidentiality (C): None
Integrity (I): None
Availability (A): High

CVSS v2.0 Severity and Metrics:

Base Score: 5.0 MEDIUM
Vector: (AV:N/AC:L/Au:N/C:N/I:N/A:P) (V2 legend)
Impact Subscore: 2.9
Exploitability Subscore: 10.0


Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (AU): None
Confidentiality (C): None
Integrity (I): None
Availability (A): Partial
Additional Information:
Allows disruption of service

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
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
https://libreswan.org/security/CVE-2019-12312/libreswan-3.27-CVE-2019-12312.patch

Technical Details

Vulnerability Type (View All)

  • NULL Pointer Dereference (CWE-476)

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (excluding)
3.28


Change History

3 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2019-12312
NVD Published Date:
05/24/2019
NVD Last Modified:
06/06/2019