cve.bz

CVE-2023-2295 Uncontrolled Resource Consumption

7.5 highEPSS 1.6%

High (7.5). EPSS 1.6% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-01-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-2295 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-2295?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-2295?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-2295 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libreswan:libreswan4.9-1.el8
libreswan:libreswan4.9-1.el9
redhat:enterprise_linux8.0
redhat:enterprise_linux9.0
redhat:enterprise_linux_eus8.8
redhat:enterprise_linux_eus9.2
redhat:enterprise_linux_server_aus8.8
redhat:enterprise_linux_server_aus9.2
redhat:enterprise_linux_server_tus8.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 morelibreswanno fix listedUBUNTU-CVE-2023-2295
Red Hatenterprise_linux:8::appstreamlibreswan, libreswan-debuginfo, libreswan-debugsource0:4.9-3.el8_8RHSA-2023:3107
Red Hatenterprise_linux:9::appstreamlibreswan, libreswan-debuginfo, libreswan-debugsource0:4.9-4.el9_2RHSA-2023:3148
Red Hatopenshift:4.15::el9libreswan, libreswan-debuginfo, libreswan-debugsource0:4.6-3.el9_0.3RHBA-2024:11565
Red Hatopenshift:4.16::el9libreswan, libreswan-debuginfo, libreswan-debugsource0:4.6-3.el9_0.3RHBA-2024:11505
Red Hatopenshift:4.17::el9libreswan, libreswan-debuginfo, libreswan-debugsource0:4.6-3.el9_0.3RHBA-2024:11525
Red Hatrhel_e4s:9.0::appstreamlibreswan, libreswan-debuginfo, libreswan-debugsource0:4.6-3.el9_0.3RHSA-2024:10594
AlmaLinux8libreswan4.9-3.el8_8ALSA-2023:3107
AlmaLinux9libreswan4.9-4.el9_2ALSA-2023:3148
Rocky Linux8libreswan0:4.9-3.el8_8RLSA-2023:3107

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This issue only affects Red Hat Enterprise Linux 8.8 and Red Hat Enterprise Linux 9.2, which introduced this regression via the following errata:

https://access.redhat.com/errata/RHBA-2023:2865 (Red Hat Enterprise Linux 8.8)

https://access.redhat.com/errata/RHBA-2023:2355 (Red Hat Enterprise Linux 9.2)

These errata provided updates for libreswan package, but did not include fixes for CVE-2023-30570.

A user who installs or updates to Red Hat Enterprise Linux 8.8 or Red Hat Enterprise Linux 9.2 would be vulnerable to the CVE-2023-30570, even if they were properly fixed in Red Hat Enterprise Linux 8.7 and Red Hat Enterprise Linux 9.1. The CVE-2023-2295 was assigned to that Red Hat specific security regression and it is not applicable to any upstream libreswan version or libreswan packages of any other vendor that are not directly based on Red Hat Enterprise Linux packages.

For more details about the original security issue CVE-2023-30570, refer to the CVE page: https://access.redhat.com/security/cve/CVE-2023-30570.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libreswan-0:4.9-3.el8_8Fixed 2023-05-16RHSA-2023:3107
Red Hat Enterprise Linux 9libreswan-0:4.9-4.el9_2Fixed 2023-05-16RHSA-2023:3148
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionslibreswan-0:4.6-3.el9_0.3Fixed 2024-12-02RHSA-2024:10594
Red Hat OpenShift Container Platform 4.15libreswan-0:4.6-3.el9_0.3Fixed 2025-01-02RHBA-2024:11565
Red Hat OpenShift Container Platform 4.16libreswan-0:4.6-3.el9_0.3Fixed 2025-01-02RHBA-2024:11505
Red Hat OpenShift Container Platform 4.17libreswan-0:4.6-3.el9_0.3Fixed 2025-01-02RHBA-2024:11525
Red Hat Enterprise Linux 6libreswanNot affected
Red Hat Enterprise Linux 7libreswanNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-2295.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON