CVE-2023-38710

Name
CVE-2023-38710
Description
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/libreswan/libreswan/tags
MISC https://libreswan.org/security/CVE-2023-38710/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:* libreswan >= 3.20 < 4.12

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
libreswan 3.18-community 4.11-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
libreswan 3.19-community 4.12-r0 Natanael Copa <ncopa@alpinelinux.org> fixed