CVE-2023-25824 mod_gnutls contains Infinite Loop on request read timeout
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- Apache HTTP ServerUbuntu
Description
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.
Upgrade path
4 packages: 1 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/mod-gnutls(Ubuntu 20.04) | = 0.8.2-3ubuntu1; = 0.9.0-1.1ubuntu1; All versions | No fix listed | No fix yet |
| ubuntu/mod-gnutls(Ubuntu 22.04) | = 0.9.0-1.1ubuntu1; All versions | No fix listed | No fix yet |
| mod gnutls project mod gnutls | >= 0.9.0, < 0.12.1 | 0.12.1 | Fixed |
| airtower-luna mod_gnutls | = >= 0.9.0, < 0.12.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| airtower-luna mod_gnutls | = >= 0.9.0, < 0.12.1 | No fix listed |
| ubuntu/mod-gnutls(Ubuntu:22.04) | All versions | No fix listed |
| mod gnutls project mod gnutls | >= 0.9.0, < 0.12.1 | 0.12.1 |
| ubuntu/mod-gnutls(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/mod-gnutls(Ubuntu:20.04) | = 0.8.2-3ubuntu1 | No fix listed |
| ubuntu/mod-gnutls(Ubuntu:20.04) | = 0.9.0-1.1ubuntu1 | No fix listed |
| ubuntu/mod-gnutls(Ubuntu:22.04) | = 0.9.0-1.1ubuntu1 | No fix listed |
References
- https://github.com/airtower-luna/mod_gnutls/security/advisories/GHSA-6cfv-fvgm-7pc8 issue-tracking patch vendor-advisory
- https://github.com/airtower-luna/mod_gnutls/commit/d7eec4e598158ab6a98bf505354e84352f9715ec issue-tracking patch
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942737#25 exploit issue-tracking mailing-list mitigation patch third-party-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking