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. https://libreswan.org/security/CVE-2023-38710/CVE-2023-38710.txt
Vulnerable versions : libreswan 3.20 - 4.11 Not vulnerable : libreswan 3.0 - 3.19, 4.12+ Vulnerable code was introduced in libreswan v3.20
This CVE is now public by upstream: https://libreswan.org/security/CVE-2023-38710/CVE-2023-38710.txt https://libreswan.org/security/CVE-2023-38710/CVE-2023-38710.patch
Created libreswan tracking bugs for this issue: Affects: fedora-all [bug 2230238]