CVE-2023-38711
An issue was discovered in Libreswan before 4.12. When an IKEv1 Quick Mode connection configured with ID_IPV4_ADDR or ID_IPV6_ADDR receives an IDcr payload with ID_FQDN, a NULL pointer dereference causes a crash and restart of the pluto daemon. NOTE: the earliest affected version is 4.6.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libreswan | Fix pending | UBUNTU-CVE-2023-38711 | |
| Ubuntu 26.04 | libreswan | Under investigation | UBUNTU-CVE-2023-38711 | |
| Ubuntu 25.10 | libreswan | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-38711 | |
| Ubuntu 24.04 | libreswan | Under investigation | UBUNTU-CVE-2023-38711 | |
| Ubuntu 22.04 | libreswan | Under investigation | UBUNTU-CVE-2023-38711 | |
| Ubuntu 20.04 | libreswan | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-38711 | |
| Ubuntu 18.04 | libreswan | Will not fix Ubuntu decided not to fix this in this release | ||
| Debian 13 | libreswan | Fixed | 4.12-1 | DEBIAN-CVE-2023-38711 |
| Debian 12 | libreswan | Fix pending | DEBIAN-CVE-2023-38711 | |
| Red Hat Enterprise Linux 9 | libreswan | Fixed | 0:4.12-1.el9 | RHSA-2023:6549 |
| Red Hat Enterprise Linux 8 | libreswan | Fixed | 0:4.12-2.el8 | RHSA-2023:7052 |
| Red Hat Enterprise Linux 7 | libreswan | Not affected | ||
| Red Hat Enterprise Linux 6 | libreswan | Not affected | ||
| AlmaLinux 9 | libreswan | Fixed | 4.12-1.el9 | ALSA-2023:6549 |
| AlmaLinux 8 | libreswan | Fixed | 4.12-2.el8 | ALSA-2023:7052 |
| Rocky Linux 8 | libreswan | Fixed | 0:4.12-2.el8_10.3 | RLSA-2023:7052 |
| Alpine Linux 3.24 | libreswan | Fixed | 4.12-r0 | ALPINE-CVE-2023-38711 |
| Alpine Linux 3.23 | libreswan | Fixed | 4.12-r0 | ALPINE-CVE-2023-38711 |
| Alpine Linux 3.22 | libreswan | Fixed | 4.12-r0 | ALPINE-CVE-2023-38711 |
| Alpine Linux 3.21 | libreswan | Fixed | 4.12-r0 | ALPINE-CVE-2023-38711 |
| Alpine Linux 3.20 | libreswan | Fixed | 4.12-r0 | ALPINE-CVE-2023-38711 |
| Alpine Linux 3.19 | libreswan | Fixed | 4.12-r0 | ALPINE-CVE-2023-38711 |
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.