aws / aws/aws-lambda-base-images

CVE-2026-9358 (LOW): detected in Lambda Docker Images.

Open
#681 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-9358](https://avd.aquasec.com/nvd/cve-2026-9358) | `LOW` | `postcss-selector-parser` | `7.1.1` | `6.1.3, 7.1.3` | `2026-05-24T06:16:37.573Z` | `2026-09-04T10:18:25.933684389Z` |

---

## Affected Docker Images

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

---

## Description

> A vulnerability was determined in postcss-selector-parser up to 6.1.2/7.1.2. Affected is the function toString of the file src/selectors/container.js of the component AST Serialization. Executing a manipulation can lead to uncontrolled recursion. It is possible to launch the attack remotely. The exploit has been publicly disclosed and may be utilized. Upgrading to version 6.1.3 and 7.1.3 is able to address this issue. This patch is called 5bc698cef66f8abd12610dc623e5d67cbc0f869d. It is suggested to upgrade the affected component. The vendor explains, that according to his definition "DoS on server-side on user-generated CSS is low risk for us (since most users compile own CSS with PostCSS)." The commits were backported to 6.x branch, which was the most downloaded version.

---

### Remediation Steps
- Update the affected package `postcss-selector-parser` from version `7.1.1` to `6.1.3, 7.1.3`.

### 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 and dependency metadata for public.ecr.aws/lambda/nodejs:22, then check how postcss-selector-parser 7.1.1 enters the image. Rebuild or update the image so the dependency is at a fixed version, and verify the resulting image scan no longer reports CVE-2026-9358.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, docker, javascript, node.js
Domain
cloud, devops, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.