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 | — | Upgrade libreswan | Nov 16, 2023 | Aug 25, 2023 |
| Alpine Linux | — | Upgrade libreswan | Aug 22, 2024 | Aug 25, 2023 |
| Centos_linux | — | Upgrade libreswan-debuginfoUpgrade libreswanUpgrade libreswan-debugsource | Nov 8, 2023 | Aug 25, 2023 |
| Debian | — | Upgrade libreswanNo solution exists | May 15, 2025 | Aug 25, 2023 |
| Oracle_linux | — | Upgrade libreswan | Nov 22, 2023 | Aug 8, 2023 |
| Redhat Openshift | — | Upgrade libreswan | Jan 10, 2025 | Aug 8, 2023 |
| Redhat_linux | — | Upgrade libreswan-debugsourceNo solution existsUpgrade libreswan-debuginfoUpgrade libreswan | Nov 8, 2023 | Aug 25, 2023 |
| Rocky_linux | — | Upgrade libreswanUpgrade libreswan-debuginfoUpgrade 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