CVE-2023-38710

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-38710
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-38710.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-38710
Downstream
Related
Published
2023-08-25T21:15:08Z
Modified
2025-10-21T13:22:37.780812Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/libreswan/libreswan

Affected ranges

Type
GIT
Repo
https://github.com/libreswan/libreswan
Events

Affected versions

debian/3.*

debian/3.18-1
debian/3.19-1
debian/3.19-2
debian/3.20-1
debian/3.20-2
debian/3.20-3
debian/3.20-4
debian/3.20-5
debian/3.20-6
debian/3.20-7
debian/3.21-1
debian/3.21_rc2-1
debian/3.21_rc5-1

v3.*

v3.20
v3.21
v3.21_rc2
v3.21_rc5
v3.21rc2
v3.21rc5
v3.22
v3.22dr1
v3.25
v3.26
v3.27
v3.28
v3.30

v4.*

v4.0
v4.1
v4.10
v4.11
v4.2
v4.3
v4.4
v4.5
v4.6
v4.7
v4.8
v4.9