CVEfocus › CVE database › CVE-2023-38710

CVE-2023-38710

EPSS 1.0% (higher than 61% of CVEs)Published 2023-08-25Updated 2024-11-26Assigner: mitre

An issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number of 0 or 1, an error notify INVALID_SPI is sent back. The notify payload's protocol ID is copied from the incoming packet, but the code that verifies outgoing packets fails an assertion that the protocol ID must be ESP (2) or AH(3) and causes the pluto daemon to crash and restart. NOTE: the earliest affected version is 3.20.

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

12Fixed
2Fix pending
3Under investigation
4Will not fix
1Not 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 26.10libreswanFix pendingUBUNTU-CVE-2023-38710
Ubuntu 26.04libreswanUnder investigationUBUNTU-CVE-2023-38710
Ubuntu 25.10libreswanWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-38710
Ubuntu 24.04libreswanUnder investigationUBUNTU-CVE-2023-38710
Ubuntu 22.04libreswanUnder investigationUBUNTU-CVE-2023-38710
Ubuntu 20.04libreswanWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-38710
Ubuntu 18.04libreswanWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-38710
Debian 13libreswanFixed4.12-1DEBIAN-CVE-2023-38710
Debian 12libreswanFix pendingDEBIAN-CVE-2023-38710
Red Hat Enterprise Linux 9libreswanFixed0:4.12-1.el9RHSA-2023:6549
Red Hat Enterprise Linux 8libreswanFixed0:4.12-2.el8RHSA-2023:7052
Red Hat Enterprise Linux 7libreswanWill not fix
Out of support scope
Red Hat Enterprise Linux 6libreswanNot affected
AlmaLinux 9libreswanFixed4.12-1.el9ALSA-2023:6549
AlmaLinux 8libreswanFixed4.12-2.el8ALSA-2023:7052
Rocky Linux 8libreswanFixed0:4.12-2.el8_10.3RLSA-2023:7052
Alpine Linux 3.24libreswanFixed4.12-r0ALPINE-CVE-2023-38710
Alpine Linux 3.23libreswanFixed4.12-r0ALPINE-CVE-2023-38710
Alpine Linux 3.22libreswanFixed4.12-r0ALPINE-CVE-2023-38710
Alpine Linux 3.21libreswanFixed4.12-r0ALPINE-CVE-2023-38710
Alpine Linux 3.20libreswanFixed4.12-r0ALPINE-CVE-2023-38710
Alpine Linux 3.19libreswanFixed4.12-r0ALPINE-CVE-2023-38710

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.