CVE-2023-38710

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductLibreswan
PublishedAug 25, 2023
First seenAug 25, 2023

How to fix

Update
  • libreswan libreswan4.12 or later

Affected products

ProductAffected versionsFixed in
libreswan libreswan3.20 ≤ v < 4.124.12

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2023-38710 · Libreswan · Dark Radar