MGASA-2023-0304 - Updated apache packages fix security vulnerabilities

Publication date: 27 Oct 2023
URL: https://advisories.mageia.org/MGASA-2023-0304.html
Type: security
Affected Mageia releases: 8, 9
CVE: CVE-2023-45802,
     CVE-2023-43622,
     CVE-2023-31122

Apache has been updated to version 2.4.58 to fix several security
issues.

CVE-2023-45802: Apache HTTP Server: HTTP/2 stream memory not reclaimed
right away on RST (cve.mitre.org)
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.
Credits: Will Dormann of Vul Labs

CVE-2023-43622: Apache HTTP Server: DoS in HTTP/2 with initial windows
size 0 (cve.mitre.org)
An attacker, opening a HTTP/2 connection with an initial window size of
0, was able to block handling of that connection indefinitely in Apache
HTTP Server. This could be used to exhaust worker resources in the
server, similar to the well known "slow loris" attack pattern.
This has been fixed in version 2.4.58, so that such connection are
terminated properly after the configured connection timeout.
This issue affects Apache HTTP Server: from 2.4.55 through 2.4.57.
Users are recommended to upgrade to version 2.4.58, which fixes the
issue.
Credits: Prof. Sven Dietrich (City University of New York)

CVE-2023-31122: mod_macro buffer over-read
(cve.mitre.org)
Out-of-bounds Read vulnerability in mod_macro of Apache HTTP Server. This issue affects Apache HTTP Server: through 2.4.57.
Credits: David Shoon (github/davidshoon)

References:
- https://bugs.mageia.org/show_bug.cgi?id=32415
- https://downloads.apache.org/httpd/CHANGES_2.4.58
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-45802
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-43622
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-31122

SRPMS:
- 9/core/apache-2.4.58-1.mga9
- 8/core/apache-2.4.58-1.mga8

Mageia 2023-0304: apache security update

Apache has been updated to version 2.4.58 to fix several security issues

Summary

Apache has been updated to version 2.4.58 to fix several security issues.
CVE-2023-45802: Apache HTTP Server: HTTP/2 stream memory not reclaimed right away on RST (cve.mitre.org) 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. Credits: Will Dormann of Vul Labs
CVE-2023-43622: Apache HTTP Server: DoS in HTTP/2 with initial windows size 0 (cve.mitre.org) An attacker, opening a HTTP/2 connection with an initial window size of 0, was able to block handling of that connection indefinitely in Apache HTTP Server. This could be used to exhaust worker resources in the server, similar to the well known "slow loris" attack pattern. This has been fixed in version 2.4.58, so that such connection are terminated properly after the configured connection timeout. This issue affects Apache HTTP Server: from 2.4.55 through 2.4.57. Users are recommended to upgrade to version 2.4.58, which fixes the issue. Credits: Prof. Sven Dietrich (City University of New York)
CVE-2023-31122: mod_macro buffer over-read (cve.mitre.org) Out-of-bounds Read vulnerability in mod_macro of Apache HTTP Server. This issue affects Apache HTTP Server: through 2.4.57. Credits: David Shoon (github/davidshoon)

References

- https://bugs.mageia.org/show_bug.cgi?id=32415

- https://downloads.apache.org/httpd/CHANGES_2.4.58

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-45802

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-43622

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-31122

Resolution

MGASA-2023-0304 - Updated apache packages fix security vulnerabilities

SRPMS

- 9/core/apache-2.4.58-1.mga9

- 8/core/apache-2.4.58-1.mga8

Severity
Publication date: 27 Oct 2023
URL: https://advisories.mageia.org/MGASA-2023-0304.html
Type: security
CVE: CVE-2023-45802, CVE-2023-43622, CVE-2023-31122

Related News