CVE-2026-84961 (CRITICAL): undici 7.29.0 in the preinstalled AWS SDK of nodejs base images

未关闭
#683 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
55/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
aws, docker, node.js

调研方向

Start by inspecting package.json in the published layers for the listed nodejs base-image tags, especially /var/runtime/node_modules/@aws-sdk/node_modules/undici and Node's bundled copy. Rebuild the affected images with undici at the stated fixed versions and verify that the published layers no longer contain the vulnerable copies, including the Node 24 runtime image.

由索引模型根据 Issue 内容生成。

描述

The Node.js Lambda base images ship undici 7.29.0 inside the preinstalled AWS SDK v3, at /var/runtime/node_modules/@aws-sdk/node_modules/undici. That version is affected by CVE-2026-84961 (CVSS 9.1), fixed upstream in undici 7.29.1, published 2026-09-04.

Verified by reading package.json from the published image layers of:

  • public.ecr.aws/lambda/nodejs:24.2026.09.12.00 - undici 7.29.0
  • public.ecr.aws/lambda/nodejs:24.2026.09.08.11 - undici 7.29.0
  • public.ecr.aws/lambda/nodejs:22.2026.06.19.17 - undici 7.29.0
  • public.ecr.aws/lambda/nodejs:26-preview - undici 7.29.0 in the SDK, and 8.10.0 in Node's own bundled copy, which is below the 8.10.2 fix

Both the 09-08 and 09-12 builds were produced after the fix was available.

Note this is separate from Node's own bundled undici: Node v24.20.0 bundles deps/undici 7.29.0 and Node v24.21.0 bundles 7.29.1, but no Lambda base image ships v24.21.0 yet. Both copies are flagged by scanners.

Impact: every image built FROM these bases inherits the finding, so enterprise scanners with a critical-severity gate block production promotion, even for functions that bundle their own SDK and never import the preinstalled one.

Request: rebuild the nodejs base images with an SDK carrying undici >= 7.29.1, and ideally ship a Node 24.21.0-based image so the runtime's own bundled copy is patched too.

主要语言
没有语言数据
星标
775
派生
117
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

aws/aws-lambda-base-images 的其他 Issue

查看 aws/aws-lambda-base-images 的全部 Issue

相似的 Issue

更多 Cloud Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。