CVE-2023-38710
Libreswan IKEv2 Protocol ID Validation Crash
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.
INFO
Published Date :
Aug. 25, 2023, 9:15 p.m.
Last Modified :
Nov. 21, 2024, 8:14 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | 
Solution
- Update the Libreswan packages.
- Consult vendor advisories for specific guidance.
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2023-38710.
                                        
| URL | Resource | 
|---|---|
| https://github.com/libreswan/libreswan/tags | Third Party Advisory | 
| https://libreswan.org/security/CVE-2023-38710/ | Third Party Advisory | 
| https://github.com/libreswan/libreswan/tags | Third Party Advisory | 
| https://libreswan.org/security/CVE-2023-38710/ | Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2023-38710 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2023-38710
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2023-38710 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2023-38710 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference https://github.com/libreswan/libreswan/tags Added Reference https://libreswan.org/security/CVE-2023-38710/ 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            Reanalysis by [email protected]Dec. 11, 2023 Action Type Old Value New Value Removed CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H 
- 
                            Initial Analysis by [email protected]Aug. 31, 2023 Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://github.com/libreswan/libreswan/tags No Types Assigned https://github.com/libreswan/libreswan/tags Third Party Advisory Changed Reference Type https://libreswan.org/security/CVE-2023-38710/ No Types Assigned https://libreswan.org/security/CVE-2023-38710/ Third Party Advisory Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:libreswan:libreswan:*:*:*:*:*:*:*:* versions from (including) 3.20 up to (excluding) 4.12 
Vulnerability Scoring Details
Base CVSS Score: 6.5
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.06 }} -0.00%
score
0.19323
percentile
 
                         
                         
                         
                                             
                                            