CVE-2023-38710: High severity libreswan Libreswan vulnerability

Published Jul 25, 2023
·
Updated

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 INVALIDSPI 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.

Other sources

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 INVALIDSPI 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.

MITRE

When an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number of 0 or 1, an error notify INVALIDSPI 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.

https://libreswan.org/security/CVE-2023-38710/CVE-2023-38710.txt

Red Hat

Affected Software

5 affected componentsFixes available
redhat/libreswan<4.12
4.12
libreswan Libreswan>=3.20<4.12
Microsoft azl3 libreswan 4.7-6
Microsoft cbl2 libreswan 4.7-5
Microsoft azl3 libreswan 4.7-7

Event History

Aug 25, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Aug 26, 2023
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-38710?

The severity of CVE-2023-38710 is high with a CVSS score of 7.5.

2

What is the affected software for CVE-2023-38710?

The affected software for CVE-2023-38710 is Libreswan versions 3.20 to 4.12.

3

How can I fix CVE-2023-38710?

To fix CVE-2023-38710, update Libreswan to version 4.12 or higher.

4

What happens if an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number for CVE-2023-38710?

If an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number (0 or 1), an error notify INVALID_SPI is sent back.

5

Where can I find more information about CVE-2023-38710?

You can find more information about CVE-2023-38710 at the following references: [here](https://github.com/libreswan/libreswan/tags) and [here](https://libreswan.org/security/CVE-2023-38710/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203