CVE-2019-12312 Null dereference in n/a

High 7.5 Published Updated

An attacker can cause a denial of service by triggering a NULL pointer dereference in the Libreswan IKE daemon, leading to a service restart.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-12312?

CVE-2019-12312 is a high-severity vulnerability in n/a, published on 24 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-617, CWE-476

Which versions are affected by CVE-2019-12312?

It affects 1 product.

Products include Libreswan Libreswan.

How do I fix CVE-2019-12312?

Upgrade to a fixed version.

Is CVE-2019-12312 being exploited?

There is no known exploitation of CVE-2019-12312 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2019-12312, GHSA-mg44-55g8-hfpm.

Is CVE-2019-12312 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free