CVEfocus › CVE database › CVE-2019-12312

CVE-2019-12312

CVSS 7.5 HighEPSS 2.7% (higher than 87% of CVEs)Published 2019-05-24Updated 2024-08-04Assigner: mitre

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.

What to do

Fixed builds are available from Alpine, Debian, Red Hat: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

17Fixed
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04libreswanNot affected
vulnerable_code_not_present
Debian 13libreswanFixed3.27-5DEBIAN-CVE-2019-12312
Debian 12libreswanFixed3.27-5DEBIAN-CVE-2019-12312
Red Hat Enterprise Linux 8libreswanFixed0:3.29-6.el8RHSA-2019:3391
Red Hat Enterprise Linux 7libreswanNot affected
Red Hat Enterprise Linux 6libreswanNot affected
Red Hat Enterprise Linux 6openswanNot affected
Red Hat Enterprise Linux 6openswan-docNot affected
Red Hat Enterprise Linux 5openswanNot affected
Alpine Linux 3.24libreswanFixed3.28-r0ALPINE-CVE-2019-12312
Alpine Linux 3.23libreswanFixed3.28-r0ALPINE-CVE-2019-12312
Alpine Linux 3.22libreswanFixed3.28-r0ALPINE-CVE-2019-12312
Alpine Linux 3.21libreswanFixed3.28-r0ALPINE-CVE-2019-12312
Alpine Linux 3.20libreswanFixed3.28-r0ALPINE-CVE-2019-12312
Alpine Linux 3.19libreswanFixed3.28-r0ALPINE-CVE-2019-12312
Alpine Linux 3.18libreswanFixed3.28-r0ALPINE-CVE-2019-12312
Alpine Linux 3.17libreswanFixed3.28-r0ALPINE-CVE-2019-12312
Alpine Linux 3.16libreswanFixed3.28-r0ALPINE-CVE-2019-12312
Alpine Linux 3.15libreswanFixed3.28-r0ALPINE-CVE-2019-12312
Alpine Linux 3.14libreswanFixed3.28-r0ALPINE-CVE-2019-12312
Alpine Linux 3.13libreswanFixed3.28-r0ALPINE-CVE-2019-12312
Alpine Linux 3.12libreswanFixed3.28-r0ALPINE-CVE-2019-12312
Alpine Linux 3.11libreswanFixed3.28-r0ALPINE-CVE-2019-12312

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.