CVE-2023-38710
Fixed in a distro release EPSS <1%
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.
Products: libreswan
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 8 | libreswan | 4.12-2.el8 |
| AlmaLinux 9 | libreswan | 4.12-1.el9 |
| Debian 12 | libreswan | no fix |
| Debian 13 | libreswan | 4.12-1 |
| Debian 14 | libreswan | 4.12-1 |
| Red Hat Enterprise Linux 8 | libreswan | 0:4.12-2.el8 |
| Red Hat Enterprise Linux 8 | libreswan-debuginfo | 0:4.12-2.el8 |
| Red Hat Enterprise Linux 8 | libreswan-debugsource | 0:4.12-2.el8 |
| Red Hat Enterprise Linux 9 | libreswan | 0:4.12-1.el9 |
| Red Hat Enterprise Linux 9 | libreswan-debuginfo | 0:4.12-1.el9 |
| Red Hat Enterprise Linux 9 | libreswan-debugsource | 0:4.12-1.el9 |
| Red Hat openshift 4.15 | libreswan | 0:4.6-3.el9_0.3 |
| Red Hat openshift 4.15 | libreswan-debuginfo | 0:4.6-3.el9_0.3 |
| Red Hat openshift 4.15 | libreswan-debugsource | 0:4.6-3.el9_0.3 |
| Red Hat openshift 4.16 | libreswan | 0:4.6-3.el9_0.3 |
| Red Hat openshift 4.16 | libreswan-debuginfo | 0:4.6-3.el9_0.3 |
| Red Hat openshift 4.16 | libreswan-debugsource | 0:4.6-3.el9_0.3 |
| Red Hat openshift 4.17 | libreswan | 0:4.6-3.el9_0.3 |
| Red Hat openshift 4.17 | libreswan-debuginfo | 0:4.6-3.el9_0.3 |
| Red Hat openshift 4.17 | libreswan-debugsource | 0:4.6-3.el9_0.3 |
| Red Hat rhel e4s 9.0 | libreswan | 0:4.6-3.el9_0.3 |
| Red Hat rhel e4s 9.0 | libreswan-debuginfo | 0:4.6-3.el9_0.3 |
| Red Hat rhel e4s 9.0 | libreswan-debugsource | 0:4.6-3.el9_0.3 |
| Red Hat rhel eus 9.2 | libreswan | 0:4.9-5.el9_2.4 |
| Red Hat rhel eus 9.2 | libreswan-debuginfo | 0:4.9-5.el9_2.4 |
| Red Hat rhel eus 9.2 | libreswan-debugsource | 0:4.9-5.el9_2.4 |
| Rocky Linux 8 | libreswan | 0:4.12-2.el8_10.3 |
| Ubuntu 18.04 LTS | libreswan | no fix |
| Ubuntu 20.04 LTS | libreswan | no fix |
| Ubuntu 22.04 LTS | libreswan | no fix |
| Ubuntu 24.04 LTS | libreswan | no fix |
| Ubuntu 25.10 | libreswan | no fix |
| Ubuntu 26.04 LTS | libreswan | no fix |
| Ubuntu 26.10 | libreswan | no fix |