MGASA-2021-0265 - Updated apache packages fix security vulnerabilities

Publication date: 16 Jun 2021
URL: https://advisories.mageia.org/MGASA-2021-0265.html
Type: security
Affected Mageia releases: 7, 8
CVE: CVE-2019-17567,
     CVE-2020-13950,
     CVE-2020-35452,
     CVE-2021-26690,
     CVE-2021-26691,
     CVE-2021-30641,
     CVE-2021-31618

mod_proxy_wstunnel tunneling of non Upgraded connections: Apache HTTP Server 
versions 2.4.6 to 2.4.46 mod_proxy_wstunnel configured on an URL that is not 
necessarily Upgraded by the origin server was tunneling the whole connection 
regardless, thus allowing for subsequent requests on the same connection to 
pass through with no HTTP validation, authentication or authorization 
possibly configured. (CVE-2019-17567).
   
mod_proxy_http NULL pointer dereference: Apache HTTP Server versions 2.4.41 
to 2.4.46 mod_proxy_http can be made to crash (NULL pointer dereference) with 
specially crafted requests using both Content-Length and Transfer-Encoding 
headers, leading to a Denial of Service (CVE-2020-13950).

mod_auth_digest possible stack overflow by one nul byte: Apache HTTP Server 
versions 2.4.0 to 2.4.46 A specially crafted Digest nonce can cause a stack 
overflow in mod_auth_digest. There is no report of this overflow being 
exploitable, nor the Apache HTTP Server team could create one, though some 
particular compiler and/or compilation option might make it possible, with 
limited consequences anyway due to the size (a single byte) and the value 
(zero byte) of the overflow (CVE-2020-35452).

mod_session NULL pointer dereference: Apache HTTP Server versions 2.4.0 to 
2.4.46 A specially crafted Cookie header handled by mod_session can cause a 
NULL pointer dereference and crash, leading to a possible Denial Of Service 
(CVE-2021-26690).

mod_session response handling heap overflow: Apache HTTP Server versions 
2.4.0 to 2.4.46 A specially crafted SessionHeader sent by an origin server 
could cause a heap overflow (CVE-2021-26691).

Unexpected URL matching with 'MergeSlashes OFF': Apache HTTP Server versions 
2.4.39 to 2.4.46 Unexpected matching behavior with 'MergeSlashes 
OFF'(CVE-2021-30641).

NULL pointer dereference on specially crafted HTTP/2 request: Apache HTTP 
Server protocol handler for the HTTP/2 protocol checks received request 
headers against the size limitations as configured for the server and used 
for the HTTP/1 protocol as well. On violation of these restrictions and HTTP 
response is sent to the client with a status code indicating why the request 
was rejected. This rejection response was not fully initialised in the HTTP/2 
protocol handler if the offending header was the very first one received or 
appeared in a a footer. This led to a NULL pointer dereference on initialised 
memory, crashing reliably the child process. Since such a triggering HTTP/2 
request is easy to craft and submit, this can be exploited to DoS the server. 
This issue affected mod_http2 1.15.17 and Apache HTTP Server version 2.4.47 
only. Apache HTTP Server 2.4.47 was never released. (CVE-2021-31618).

References:
- https://bugs.mageia.org/show_bug.cgi?id=29087
- https://httpd.apache.org/security/vulnerabilities_24.html
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-17567
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-13950
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-35452
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-26690
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-26691
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-30641
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-31618

SRPMS:
- 7/core/apache-2.4.48-1.mga7
- 8/core/apache-2.4.48-1.mga8