CVE Vulnerabilities

CVE-2023-25824

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Feb 23, 2023 | Modified: Nov 07, 2023
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
Ubuntu
MEDIUM

Mod_gnutls is a TLS module for Apache HTTPD based on GnuTLS. Versions from 0.9.0 to 0.12.0 (including) did not properly fail blocking read operations on TLS connections when the transport hit timeouts. Instead it entered an endless loop retrying the read operation, consuming CPU resources. This could be exploited for denial of service attacks. If trace level logging was enabled, it would also produce an excessive amount of log output during the loop, consuming disk space. The problem has been fixed in commit d7eec4e598158ab6a98bf505354e84352f9715ec, please update to version 0.12.1. There are no workarounds, users who cannot update should apply the errno fix detailed in the security advisory.

Weakness

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Software

Name Vendor Start Version End Version
Mod_gnutls Mod_gnutls_project 0.9.0 (including) 0.12.1 (excluding)
Mod-gnutls Ubuntu esm-apps/focal *
Mod-gnutls Ubuntu esm-apps/jammy *
Mod-gnutls Ubuntu focal *
Mod-gnutls Ubuntu jammy *
Mod-gnutls Ubuntu lunar *
Mod-gnutls Ubuntu mantic *
Mod-gnutls Ubuntu trusty *
Mod-gnutls Ubuntu xenial *

References