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.
CVSS Details
- CVSS 3.1 Base Score: 6.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | alma-upgrade-libreswan | Nov 16, 2023 | Aug 25, 2023 | |
| Alpine Linux | alpine-linux-upgrade-libreswan | Aug 22, 2024 | Aug 25, 2023 | |
| Centos_linux | — | centos-upgrade-libreswancentos-upgrade-libreswan-debuginfocentos-upgrade-libreswan-debugsource | Nov 8, 2023 | Aug 25, 2023 |
| Debian | no-fix-debian-deb-package | May 15, 2025 | Aug 25, 2023 | |
| Oracle_linux | — | oracle-linux-upgrade-libreswan | Nov 22, 2023 | Aug 8, 2023 |
| Redhat Openshift | linuxrpm-upgrade-libreswan | Jan 10, 2025 | Aug 25, 2023 | |
| Redhat_linux | redhat-upgrade-libreswanredhat-upgrade-libreswan-debuginforedhat-upgrade-libreswan-debugsource | Nov 8, 2023 | Aug 25, 2023 | |
| Rocky_linux | rocky-upgrade-libreswanrocky-upgrade-libreswan-debuginforocky-upgrade-libreswan-debugsource | May 25, 2026 | May 21, 2026 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub