PT-2023-5266 · Libreswan+5 · Libreswan+5
Published
2023-08-08
·
Updated
2024-03-24
·
CVE-2023-38710
CVSS v2.0
7.8
High
| Vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
Libreswan versions 3.20 through 4.12
Description
An issue was discovered in Libreswan when an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number of 0 or 1. This causes an error notify INVALID SPI to be sent back, but the code that verifies outgoing packets fails an assertion that the protocol ID must be ESP (2) or AH(3), resulting in the pluto daemon crashing and restarting. The issue can be exploited by a remote attacker to perform a denial-of-service attack.
Recommendations
For Libreswan versions 3.20 through 4.12, update to a version 4.12 or later to resolve the issue.
At the moment, there is no information about other specific mitigation measures for this vulnerability.
Fix
Assertion Failure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Almalinux
Centos
Debian
Libreswan
Red Hat
Red Os