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 payloads 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.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Libreswan | Libreswan | 3.20 (including) | 4.12 (excluding) |
Red Hat Enterprise Linux 8 | RedHat | libreswan-0:4.12-2.el8 | * |
Red Hat Enterprise Linux 9 | RedHat | libreswan-0:4.12-1.el9 | * |
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | RedHat | libreswan-0:4.6-3.el9_0.3 | * |
Red Hat Enterprise Linux 9.2 Extended Update Support | RedHat | libreswan-0:4.9-5.el9_2.4 | * |
Red Hat OpenShift Container Platform 4.15 | RedHat | libreswan-0:4.6-3.el9_0.3 | * |
Red Hat OpenShift Container Platform 4.16 | RedHat | libreswan-0:4.6-3.el9_0.3 | * |
Red Hat OpenShift Container Platform 4.17 | RedHat | libreswan-0:4.6-3.el9_0.3 | * |
Libreswan | Ubuntu | bionic | * |
Libreswan | Ubuntu | lunar | * |
Libreswan | Ubuntu | mantic | * |
Libreswan | Ubuntu | trusty | * |
Libreswan | Ubuntu | xenial | * |