aws / aws/aws-lambda-base-images

CVE-2026-9496 (HIGH): detected in Lambda Docker Images.

Open Beginner friendly
#676 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-2026-9496](https://avd.aquasec.com/nvd/cve-2026-9496) | `HIGH` | `pacote` | `19.0.2` | `21.5.1` | `2026-05-26T07:16:19.41Z` | `2026-08-30T10:18:24.332625031Z` |

---

## Affected Docker Images

| **Image Name** | **SHA** |
|-----------------------------|---------------------------------------|
| `public.ecr.aws/lambda/nodejs:22` | `public.ecr.aws/lambda/nodejs@sha256:b3901afc920e44e82b151a46ed93c6bfd7126326fcfc2f53f905e737badaddb5` |

---

## Description

> Versions of the package pacote from 11.2.7 and before 21.5.1 are vulnerable to Denial of Service (DoS) via the addGitSha function. An attacker can exploit this vulnerability by supplying a specially crafted spec.rawSpec value that triggers the function’s regex replacement and string-manipulation logic, causing excessive CPU consumption and potentially stalling or crashing the process.

---

### Remediation Steps
- Update the affected package `pacote` from version `19.0.2` to `21.5.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

The issue identifies the Lambda Node.js 22 image and the vulnerable pacote version, but names no repository file or test. Locate the build definition for public.ecr.aws/lambda/nodejs:22 and trace how pacote is included; verify that the resulting image contains pacote 21.5.1 or later and that the vulnerability scan no longer reports CVE-2026-9496.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, node.js
Domain
infrastructure, security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.