CVE Vulnerabilities

CVE-2023-43786

Uncontrolled Resource Consumption

Published: Oct 10, 2023 | Modified: Nov 21, 2024
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
5.5 MODERATE
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

A vulnerability was found in libX11 due to an infinite loop within the PutSubImage() function. This flaw allows a local user to consume all available system resources and cause a denial of service condition.

Weakness

The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.

Affected Software

Name Vendor Start Version End Version
Libx11 X.org * 1.8.7 (excluding)
Red Hat Enterprise Linux 8 RedHat libX11-0:1.6.8-8.el8 *
Red Hat Enterprise Linux 9 RedHat libX11-0:1.7.0-9.el9 *
Libx11 Ubuntu bionic *
Libx11 Ubuntu devel *
Libx11 Ubuntu esm-infra/bionic *
Libx11 Ubuntu esm-infra/xenial *
Libx11 Ubuntu focal *
Libx11 Ubuntu jammy *
Libx11 Ubuntu lunar *
Libx11 Ubuntu mantic *
Libx11 Ubuntu noble *
Libx11 Ubuntu oracular *
Libx11 Ubuntu trusty *
Libx11 Ubuntu trusty/esm *
Libx11 Ubuntu upstream *
Libx11 Ubuntu xenial *
Libxpm Ubuntu bionic *
Libxpm Ubuntu devel *
Libxpm Ubuntu esm-infra/bionic *
Libxpm Ubuntu esm-infra/xenial *
Libxpm Ubuntu focal *
Libxpm Ubuntu jammy *
Libxpm Ubuntu lunar *
Libxpm Ubuntu mantic *
Libxpm Ubuntu noble *
Libxpm Ubuntu oracular *
Libxpm Ubuntu trusty *
Libxpm Ubuntu trusty/esm *
Libxpm Ubuntu upstream *
Libxpm Ubuntu xenial *
Motif Ubuntu bionic *
Motif Ubuntu lunar *
Motif Ubuntu mantic *
Motif Ubuntu trusty *
Motif Ubuntu trusty/esm *
Motif Ubuntu xenial *

Extended Description

Limited resources include memory, file system storage, database connection pool entries, and CPU. If an attacker can trigger the allocation of these limited resources, but the number or size of the resources is not controlled, then the attacker could cause a denial of service that consumes all available resources. This would prevent valid users from accessing the product, and it could potentially have an impact on the surrounding environment. For example, a memory exhaustion attack against an application could slow down the application as well as its host operating system. There are at least three distinct scenarios which can commonly lead to resource exhaustion:

Resource exhaustion problems are often result due to an incorrect implementation of the following situations:

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