Uncontrolled resource consumption in libreswan
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-400.
Summary
A vulnerability was found in the libreswan library. This security issue occurs when an IKEv1 Aggressive Mode packet is received with only unacceptable crypto algorithms, and the response packet is not sent with a zero responder SPI. When a subsequent packet is received where the sender reuses the libreswan responder SPI as its own initiator SPI, the pluto daemon state machine crashes. No remote code execution is possible. This CVE exists because of a CVE-2023-30570 security regression for libreswan package in Red Hat Enterprise Linux 8.8 and Red Hat Enterprise Linux 9.2.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | libreswan | Affects libreswan v4.9-1.el8 and libreswan v4.9-1.el9, Fixed in libreswan v4.9-3.el8_8 and libreswan v4.9-4.el9_2 | — | No fix listed | CNA |
- libreswan Vendor— Affected Affects libreswan v4.9-1.el8 and libreswan v4.9-1.el9, Fixed in libreswan v4.9-3.el8_8 and libreswan v4.9-4.el9_2 Fixed in — No fix listed CNA
CPE configurations NVD · 9
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libreswan:libreswan:4.9-1.el8:*:*:*:*:*:*:* | 4.9-1.el8 | Vulnerable | The Libreswan Project |
| cpe:2.3:a:libreswan:libreswan:4.9-1.el9:*:*:*:*:*:*:* | 4.9-1.el9 | Vulnerable | The Libreswan Project |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:8.8:*:*:*:*:*:*:* | 8.8 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:9.2:*:*:*:*:*:*:* | 9.2 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:8.8:*:*:*:*:*:*:* | 8.8 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:9.2:*:*:*:*:*:*:* | 9.2 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_tus:8.8:*:*:*:*:*:*:* | 8.8 | Vulnerable | Red Hat |
- cpe:2.3:a:libreswan:libreswan:4.9-1.el8:*:*:*:*:*:*:* Versions 4.9-1.el8 Vulnerable ·The Libreswan Project
- cpe:2.3:a:libreswan:libreswan:4.9-1.el9:*:*:*:*:*:*:* Versions 4.9-1.el9 Vulnerable ·The Libreswan Project
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:8.8:*:*:*:*:*:*:* Versions 8.8 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:9.2:*:*:*:*:*:*:* Versions 9.2 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:8.8:*:*:*:*:*:*:* Versions 8.8 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:9.2:*:*:*:*:*:*:* Versions 9.2 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_tus:8.8:*:*:*:*:*:*:* Versions 8.8 Vulnerable ·Red Hat
Remediation
Red Hat 3 advisories
- RHSA-2024:10594 Released 2024-12-02 · Red Hat rating Moderatelibreswan security update
- Red Hat Enterprise Linux AppStream E4S (v.9.0) libreswan-4.6-3.el9_0.3
- RHSA-2023:3148 Released 2023-05-16 · Red Hat rating Importantlibreswan security update
- Red Hat Enterprise Linux AppStream (v. 9) libreswan-4.9-4.el9_2
- RHSA-2023:3107 Released 2023-05-16 · Red Hat rating Importantlibreswan security update
- Red Hat Enterprise Linux AppStream (v. 8) libreswan-4.9-3.el8_8
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2023:3107 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:3148 |
| Red Hat Enterprise Linux AppStream E4S (v.9.0) | Fixed | RHSA-2024:10594 |
| Red Hat OpenShift Container Platform 4.15 | Fixed | — |
| Red Hat OpenShift Container Platform 4.16 | Fixed | — |
| Red Hat OpenShift Container Platform 4.17 | Fixed | — |
Not affected: 3 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat OpenShift Container Platform 4.17
Timeline
- 2026-10-02 Threatist record created from CVE-2023-2295
- 2026-10-03 Alias added: GHSA-gcrh-c42h-m2vw
References
Sources
- CVE-2023-2295 · CVE Program
- CVE-2023-2295 · NVD
- FIRST EPSS
- GHSA-gcrh-c42h-m2vw · GitHub Advisory Database · CC BY 4.0
- CVE-2023-2295 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences