Skip to content

CVE-2025-66471 (HIGH): detected in Lambda Docker Images. #359

@the-lambda-watchdog

Description

@the-lambda-watchdog

CVE Details

CVE ID Severity Affected Package Installed Version Fixed Version Date Published Date of Scan
CVE-2025-66471 HIGH urllib3 1.26.19 2.6.0 2025-12-05T17:16:04.4Z 2025-12-06T10:19:10.048869941Z

Affected Docker Images

Image Name SHA
public.ecr.aws/lambda/python:latest public.ecr.aws/lambda/python@sha256:42fd4356bf50655e7fff84abd2b7da8ac83536e363bb15c360a07f1781198e15
public.ecr.aws/lambda/python:3.14 public.ecr.aws/lambda/python@sha256:6ac4753bf6baf5a2df0cde8a6f6e9a351742cfdadb7664ca51f68558412bb716
public.ecr.aws/lambda/python:3.13 public.ecr.aws/lambda/python@sha256:42fd4356bf50655e7fff84abd2b7da8ac83536e363bb15c360a07f1781198e15
public.ecr.aws/lambda/python:3.12 public.ecr.aws/lambda/python@sha256:418b60ecd5be70360a062d2f369807fe5e2c732e5e8f3d57c6cc0381b51fc89f
public.ecr.aws/lambda/python:3.11 public.ecr.aws/lambda/python@sha256:96c69e2eda46eed5a3da62d44fcba42a38fe4e0c7bc6fd300c5b84800ad98387
public.ecr.aws/lambda/python:3.10 public.ecr.aws/lambda/python@sha256:6d5b6f61c363cadb295c164ec80cd743a268bd70e0e9d5bb1f4163b0db1e8b16
public.ecr.aws/lambda/python:3.9 public.ecr.aws/lambda/python@sha256:406c0a7733c40f59855296d97b864d4c09524ba60b4e367a8c98c3d251050f3d

Description

urllib3 is a user-friendly HTTP client library for Python. Starting in version 1.0 and prior to 2.6.0, the Streaming API improperly handles highly compressed data. urllib3's streaming API is designed for the efficient handling of large HTTP responses by reading the content in chunks, rather than loading the entire response body into memory at once. When streaming a compressed response, urllib3 can perform decoding or decompression based on the HTTP Content-Encoding header (e.g., gzip, deflate, br, or zstd). The library must read compressed data from the network and decompress it until the requested chunk size is met. Any resulting decompressed data that exceeds the requested amount is held in an internal buffer for the next read operation. The decompression logic could cause urllib3 to fully decode a small amount of highly compressed data in a single operation. This can result in excessive resource consumption (high CPU usage and massive memory allocation for the decompressed data.


Remediation Steps

  • Update the affected package urllib3 from version 1.26.19 to 2.6.0.

About this issue

  • This issue may not contain all the information about the CVE nor the images it affects.
  • This issue will not be updated with new information and the list of affected images may have changed since the creation of this issue.
  • For more, visit Lambda Watchdog.
  • This issue was created automatically by Lambda Watchdog.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions