Resource Exhaustion Affecting httpd:2.4/mod_session package, versions <0:2.4.37-64.module+el8.10.0+21332+dfb1b40e


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.11% (47th 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 Learn

Learn about Resource Exhaustion vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-HTTPD-6019612
  • published20 Oct 2023
  • disclosed19 Oct 2023

Introduced: 19 Oct 2023

CVE-2023-45802  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade RHEL:8 httpd:2.4/mod_session to version 0:2.4.37-64.module+el8.10.0+21332+dfb1b40e or higher.
This issue was patched in RHSA-2024:3121.

NVD Description

Note: Versions mentioned in the description apply only to the upstream httpd:2.4/mod_session package and not the httpd:2.4/mod_session package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

When a HTTP/2 stream was reset (RST frame) by a client, there was a time window were the request's memory resources were not reclaimed immediately. Instead, de-allocation was deferred to connection close. A client could send new requests and resets, keeping the connection busy and open and causing the memory footprint to keep on growing. On connection close, all resources were reclaimed, but the process might run out of memory before that.

This was found by the reporter during testing of CVE-2023-44487 (HTTP/2 Rapid Reset Exploit) with their own test client. During "normal" HTTP/2 use, the probability to hit this bug is very low. The kept memory would not become noticeable before the connection closes or times out.

Users are recommended to upgrade to version 2.4.58, which fixes the issue.

CVSS Scores

version 3.1