aws / aws/aws-lambda-base-images

CVE-2025-47273 (HIGH): detected in Lambda Docker Images.

Open
#663 0 comments 0 reactions 0 assignees View on GitHub
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-47273](https://avd.aquasec.com/nvd/cve-2025-47273) | `HIGH` | `setuptools` | `70.3.0` | `78.1.1` | `2025-05-17T16:15:19.11Z` | `2026-08-13T10:18:42.129576392Z` |

---

## Affected Docker Images

| **Image Name** | **SHA** |
|-----------------------------|---------------------------------------|
| `public.ecr.aws/lambda/python:3.13` | `public.ecr.aws/lambda/python@sha256:4763641547a2bd881065e0b196d2887369876e524561b12519e2662fde3361e5` |

---

## Description

> setuptools is a package that allows users to download, build, install, upgrade, and uninstall Python packages. A path traversal vulnerability in `PackageIndex` is present in setuptools prior to version 78.1.1. An attacker would be allowed to write files to arbitrary locations on the filesystem with the permissions of the process running the Python code, which could escalate to remote code execution depending on the context. Version 78.1.1 fixes the issue.

---

### Remediation Steps
- Update the affected package `setuptools` from version `70.3.0` to `78.1.1`.

### 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

Open the contributing guide

Research direction

Start by locating the build definition for the public.ecr.aws/lambda/python:3.13 image and checking how setuptools is installed. Update the affected package from 70.3.0 to 78.1.1, rebuild the image, and verify that the CVE-2025-47273 scan no longer reports the vulnerability.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, docker, python
Domain
cloud, security
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.