ALAS-2023-1849

Related Vulnerabilities: CVE-2022-41723   CVE-2023-29406   CVE-2023-29409  

http2/hpack: avoid quadratic complexity in hpack decoding (CVE-2022-41723) The HTTP/1 client does not fully validate the contents of the Host header. A maliciously crafted Host header can inject additional headers or entire requests. With fix, the HTTP/1 client now refuses to send requests containing an invalid Request.Host or Request.URL.Host value. (CVE-2023-29406) Extremely large RSA keys in certificate chains can cause a client/server to expend significant CPU time verifying signatures. With fix, the size of RSA keys transmitted during handshakes is restricted to <= 8192 bits. Based on a survey of publicly trusted RSA keys, there are currently only three certificates in circulation with keys larger than this, and all three appear to be test certificates that are not actively deployed. It is possible there are larger keys in use in private PKIs, but we target the web PKI, so causing breakage here in the interests of increasing the default safety of users of crypto/tls seems reasonable. (CVE-2023-29409)

ALAS-2023-1849


Amazon Linux AMI Security Advisory: ALAS-2023-1849
Advisory Release Date: 2023-09-27 22:15 Pacific
Advisory Updated Date: 2023-10-06 00:52 Pacific
Severity: Important

Issue Overview:

http2/hpack: avoid quadratic complexity in hpack decoding (CVE-2022-41723)

The HTTP/1 client does not fully validate the contents of the Host header. A maliciously crafted Host header can inject additional headers or entire requests. With fix, the HTTP/1 client now refuses to send requests containing an invalid Request.Host or Request.URL.Host value. (CVE-2023-29406)

Extremely large RSA keys in certificate chains can cause a client/server to expend significant CPU time verifying signatures. With fix, the size of RSA keys transmitted during handshakes is restricted to <= 8192 bits. Based on a survey of publicly trusted RSA keys, there are currently only three certificates in circulation with keys larger than this, and all three appear to be test certificates that are not actively deployed. It is possible there are larger keys in use in private PKIs, but we target the web PKI, so causing breakage here in the interests of increasing the default safety of users of crypto/tls seems reasonable. (CVE-2023-29409)


Affected Packages:

containerd


Issue Correction:
Run yum update containerd to update your system.

New Packages:
src:
    containerd-1.4.13-5.amzn1.src

x86_64:
    containerd-debuginfo-1.4.13-5.amzn1.x86_64
    containerd-stress-1.4.13-5.amzn1.x86_64
    containerd-1.4.13-5.amzn1.x86_64