MEDIUM 6.5 Microsoft

CVE-2023-38710

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.

Microsoft Security Update 2023-Aug: 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.

Affected Products

References

Published: 2023-08-08 · Source: Microsoft · Feed updated: 2026-08-14
This medium severity vulnerability with a CVSS score of 6.5 was published on 2023-08-08 via Microsoft. Affected: azl3 libreswan 4.7-7 on Azure Linux 3.0, cbl2 libreswan 4.7-5 on CBL Mariner 2.0, azl3 libreswan 4.7-6 on Azure Linux 3.0.
vulnfeed aggregates 10939 vulnerabilities from NVD, CISA KEV, Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.