CVE-2026-59875 (MEDIUM): detected in Lambda Docker Images.

Open Beginner friendly
#630 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
docker, node.js
Domain
devops, security

Research direction

Start by locating the Docker build definition for the affected Lambda Node.js images and checking where tar 7.5.15 is installed. Update the package to 7.5.17, rebuild the nodejs:22, nodejs:24, and latest images, and verify that the vulnerability scan no longer reports CVE-2026-59875.

Written by the indexing model from the issue text.

Description

CVE Details

CVE ID Severity Affected Package Installed Version Fixed Version Date Published Date of Scan
CVE-2026-59875 MEDIUM tar 7.5.15 7.5.17 2026-07-08T16:16:34.107Z 2026-07-22T10:18:15.468343918Z

Affected Docker Images

Image Name SHA
public.ecr.aws/lambda/nodejs:latest public.ecr.aws/lambda/nodejs@sha256:eca040a64243f44373fae948c0c1e13563d924a0b4c1b6a3c18d598f288ebf3f
public.ecr.aws/lambda/nodejs:24 public.ecr.aws/lambda/nodejs@sha256:eca040a64243f44373fae948c0c1e13563d924a0b4c1b6a3c18d598f288ebf3f
public.ecr.aws/lambda/nodejs:22 public.ecr.aws/lambda/nodejs@sha256:7fb30f61a372768a2ee1c1af89340e2b3b69782bc1135b0101669ee1106d1d0c

Description

node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.17, node-tar does not strip NUL bytes from PAX path and linkpath records in src/pax.ts, allowing a crafted archive with values to reach fs.lstat or fs.open and terminate the process with an uncaught exception. This issue is fixed in version 7.5.17.


Remediation Steps
  • Update the affected package tar from version 7.5.15 to 7.5.17.
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.
Dominant language
No language data
Stars
777
Forks
118
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from aws/aws-lambda-base-images

All issues in aws/aws-lambda-base-images

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.