Amazon Linux 2023 Security Advisory: ALAS-2024-632
Advisory Release Date: 2024-05-23 21:49 Pacific
Advisory Updated Date: 2024-05-28 22:45 Pacific
A malicious HTTP sender can use chunk extensions to cause a receiver reading from a request or response body to read many more bytes from the network than are in the body. A malicious HTTP client can further exploit this to cause a server to automatically read a large amount of data (up to about 1GiB) when a handler fails to read the entire body of a request. Chunk extensions are a little-used HTTP feature which permit including additional metadata in a request or response body sent using the chunked encoding. The net/http chunked encoding reader discards this metadata. A sender can exploit this by inserting a large metadata segment with each byte transferred. The chunk reader now produces an error if the ratio of real body to encoded bytes grows too small. (CVE-2023-39326)
An attacker may cause an HTTP/2 endpoint to read arbitrary amounts of header data by sending an excessive number of CONTINUATION frames. Maintaining HPACK state requires parsing and processing all HEADERS and CONTINUATION frames on a connection. When a request's headers exceed MaxHeaderBytes, no memory is allocated to store the excess headers, but they are still parsed. This permits an attacker to cause an HTTP/2 endpoint to read arbitrary amounts of header data, all associated with a request which is going to be rejected. These headers can include Huffman-encoded data which is significantly more expensive for the receiver to decode than for an attacker to send. The fix sets a limit on the amount of excess header frames we will process before closing a connection. (CVE-2023-45288)
Affected Packages:
oci-add-hooks
Issue Correction:
Run dnf update oci-add-hooks --releasever 2023.4.20240528 to update your system.
aarch64:
oci-add-hooks-debuginfo-0-0.1.20200504git268e3bb.amzn2023.0.3.aarch64
oci-add-hooks-0-0.1.20200504git268e3bb.amzn2023.0.3.aarch64
oci-add-hooks-debugsource-0-0.1.20200504git268e3bb.amzn2023.0.3.aarch64
src:
oci-add-hooks-0-0.1.20200504git268e3bb.amzn2023.0.3.src
x86_64:
oci-add-hooks-debugsource-0-0.1.20200504git268e3bb.amzn2023.0.3.x86_64
oci-add-hooks-debuginfo-0-0.1.20200504git268e3bb.amzn2023.0.3.x86_64
oci-add-hooks-0-0.1.20200504git268e3bb.amzn2023.0.3.x86_64