aws / aws/aws-lambda-base-images
CVE-2025-8869 (MEDIUM): detected in Lambda Docker Images.
- Dominant language
- No language data
- Stars
- 777
- Forks
- 118
- PR merge metrics
- No merged PRs in 30d
Description
## CVE Details
| **CVE ID** | **Severity** | **Affected Package** | **Installed Version** | **Fixed Version** | **Date Published** | **Date of Scan** |
|-----------------|--------------|----------------------|-----------------------|-------------------|--------------------|------------------|
| [CVE-2025-8869](https://avd.aquasec.com/nvd/cve-2025-8869) | `MEDIUM` | `pip` | `25.1.1` | `25.2` | `2025-09-24T15:15:41.293Z` | `2025-09-25T10:18:26.446524011Z` |
---
## Affected Docker Images
| **Image Name** | **SHA** |
|-----------------------------|---------------------------------------|
| `public.ecr.aws/lambda/python:latest` | `public.ecr.aws/lambda/python@sha256:53d3d77883792d5e3264215bf3ae4d1554736903f388fa401da9510648d24dd1` |
| `public.ecr.aws/lambda/python:3.14-preview` | `public.ecr.aws/lambda/python@sha256:61b68cf7647269ff4b9a2a0aaf629df640e259823f9b6b21a0947a02995c14f3` |
| `public.ecr.aws/lambda/python:3.13` | `public.ecr.aws/lambda/python@sha256:53d3d77883792d5e3264215bf3ae4d1554736903f388fa401da9510648d24dd1` |
| `public.ecr.aws/lambda/python:3.12` | `public.ecr.aws/lambda/python@sha256:d2ea26e3be8697c73989dd8a0ab3f05f004b7bb99fc1b9fd27258290940fbfa5` |
| `public.ecr.aws/lambda/python:3.11` | `public.ecr.aws/lambda/python@sha256:53a20b41a92d4ce0e1e5967f9bc4e424af3053250d8f1abae6d6814a65af4f46` |
| `public.ecr.aws/lambda/python:3.10` | `public.ecr.aws/lambda/python@sha256:b5534e869b21ae4d278388b01a67a36bcf7a2507c34c869d25ce9a91b17fb2a8` |
| `public.ecr.aws/lambda/python:3.9` | `public.ecr.aws/lambda/python@sha256:60ace91532a9251ef5b4730483a32e1a96eaaf3f7ac44e1a7aa1af6e95df60e9` |
---
## Description
> When extracting a tar archive pip may not check symbolic links point into the extraction directory if the tarfile module doesn't implement PEP 706.
Note that upgrading pip to a "fixed" version for this vulnerability doesn't fix all known vulnerabilities that are remediated by using a Python version that implements PEP 706.
Note that this is a vulnerability in pip's fallback implementation of tar extraction for Python versions that don't implement PEP 706
and therefore are not secure to all vulnerabilities in the Python 'tarfile' module. If you're using a Python version that implements PEP 706
then pip doesn't use the "vulnerable" fallback code.
Mitigations include upgrading to a version of pip that includes the fix, upgrading to a Python version that implements PEP 706 (Python >=3.9.17, >=3.10.12, >=3.11.4, or >=3.12),
applying the linked patch, or inspecting source distributions (sdists) before installation as is already a best-practice.
---
### Remediation Steps
- Update the affected package `pip` from version `25.1.1` to `25.2`.
### 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](https://lambdawatchdog.com).
- This issue was created automatically by Lambda Watchdog.
Contributor guide
Assessment
This issue has not been assessed yet.