CVE-2019-12312

libreswan: null-pointer dereference by sending two IKEv2 packets

Published May 24, 2019 CVSS 3.0 · 7.5 High EPSS 2.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2019-3949 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.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00539}

epss

{'score': 0.00542}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 11:17 PM
Reserved
May 24, 2019, 12:00 AM
Status
Modified
Published
May 24, 2019, 2:29 PM
Modified
Jun 17, 2026, 2:14 AM
Severity
Moderate
Public date
May 12, 2019, 12:00 AM