Vulnerability record · CVE-2023-2295 · published 17 May 2023
CVE-2023-2295: Libreswan uncontrolled resource consumption vulnerability
Libreswan · Libreswan
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.
Description
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
5 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://access.redhat.com/errata/RHSA-2023:3107 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2023:3148 | Third Party Advisory |
| https://access.redhat.com/security/cve/CVE-2023-2295 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2189777 | Issue Tracking |
| https://access.redhat.com/errata/RHSA-2023:3107 | Third Party Advisory |
| https://access.redhat.com/errata/RHSA-2023:3148 | Third Party Advisory |
| https://access.redhat.com/security/cve/CVE-2023-2295 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2189777 | Issue Tracking |
Track CVE-2023-2295 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2023-2295), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.