Amazon Linux 2 Security Advisory: ALAS2ECS-2025-055
Advisory Released Date: 2025-04-29
Advisory Updated Date: 2025-05-21
The net/http package accepted data in the chunked transfer encoding containing an invalid chunk-size line terminated by a bare LF. When used in conjunction with a server or proxy which incorrectly interprets a bare LF in a chunk extension as part of the extension, this could permit request smuggling. (CVE-2025-22871)
golang-jwt is a Go implementation of JSON Web Tokens. Prior to
5.2.2 and 4.5.2, the function parse.ParseUnverified splits (via a call to strings.Split) its argument (which is untrusted data) on periods. As a result, in the face of a malicious request whose Authorization header consists of Bearer followed by many period characters, a call to that function incurs allocations to the tune of O(n) bytes (where n stands for the length of the function's argument), with a constant factor of about 16. This issue is fixed in 5.2.2 and 4.5.2. (CVE-2025-30204)
Affected Packages:
docker
Note:
This advisory is applicable to Amazon Linux 2 - Ecs Extra. Visit this page to learn more about Amazon Linux 2 (AL2) Extras and this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update docker or yum update --advisory ALAS2ECS-2025-055 to update your system.
aarch64:
docker-25.0.8-1.amzn2.0.3.aarch64
docker-debuginfo-25.0.8-1.amzn2.0.3.aarch64
src:
docker-25.0.8-1.amzn2.0.3.src
x86_64:
docker-25.0.8-1.amzn2.0.3.x86_64
docker-debuginfo-25.0.8-1.amzn2.0.3.x86_64
2025-05-21: CVE-2025-22871 was added to this advisory.