CVE Vulnerabilities

CVE-2023-2295

Uncontrolled Resource Consumption

Published: May 17, 2023 | Modified: Jan 22, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

NameVendorStart VersionEnd Version
LibreswanLibreswan4.9-1.el8 (including)4.9-1.el8 (including)
LibreswanLibreswan4.9-1.el9 (including)4.9-1.el9 (including)
Red Hat Enterprise Linux 8RedHatlibreswan-0:4.9-3.el8_8*
Red Hat Enterprise Linux 9RedHatlibreswan-0:4.9-4.el9_2*
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRedHatlibreswan-0:4.6-3.el9_0.3*
Red Hat OpenShift Container Platform 4.15RedHatlibreswan-0:4.6-3.el9_0.3*
Red Hat OpenShift Container Platform 4.16RedHatlibreswan-0:4.6-3.el9_0.3*
Red Hat OpenShift Container Platform 4.17RedHatlibreswan-0:4.6-3.el9_0.3*
LibreswanUbuntubionic*
LibreswanUbuntufocal*
LibreswanUbuntukinetic*
LibreswanUbuntulunar*
LibreswanUbuntumantic*
LibreswanUbuntuoracular*
LibreswanUbuntuplucky*
LibreswanUbuntutrusty*
LibreswanUbuntuxenial*

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References