Loop with Unreachable Exit Condition ('Infinite Loop') Affecting mod-gnutls package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.09% (67th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2004-MODGNUTLS-3331516
  • published25 Feb 2023
  • disclosed23 Feb 2023

Introduced: 23 Feb 2023

CVE-2023-25824  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:20.04 mod-gnutls.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mod-gnutls package and not the mod-gnutls package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1