From 0ab4cfb8a9230e4b3a1366d60761879cb90fd6be Mon Sep 17 00:00:00 2001 From: okxlin <61420215+okxlin@users.noreply.github.com> Date: Fri, 31 Jul 2026 09:50:01 +0800 Subject: [PATCH] Unpin documenso latest images and update docs --- apps/documenso/README.md | 6 +++--- apps/documenso/latest/docker-compose.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/documenso/README.md b/apps/documenso/README.md index 1770e1a69..df79b81ec 100644 --- a/apps/documenso/README.md +++ b/apps/documenso/README.md @@ -27,8 +27,8 @@ Documenso 是开源文档签署平台,支持文档上传、收件人工作流 ## 安全说明 - 默认关闭 Documenso 匿名遥测,容器丢弃全部 Linux capabilities,并启用只读根文件系统和 `no-new-privileges`。 -- 当前官方镜像的新鲜 Trivy 扫描仍含上游漏洞。`CVE-2026-59873` 位于 npm CLI 的 `tar@7.5.11`;本包不运行 npm/npx,而是直接执行镜像内的本地 Prisma CLI,文档上传也不会进入该依赖。`CVE-2025-68121` 位于 `react-email` 开发/预览 CLI 携带的 esbuild Go 二进制,生产服务器只使用 `@react-email/render`,不会执行 esbuild。 -- 若镜像摘要改变、入口改回 npm/npx、加入运行时包安装/归档解包,或生产流程开始调用 `react-email`/esbuild CLI,上述默认路径例外立即失效,必须重新扫描与验证。 +- 本次审计的官方镜像快照仍含上游漏洞。`CVE-2026-59873` 位于 npm CLI 的 `tar@7.5.11`;本包不运行 npm/npx,而是直接执行镜像内的本地 Prisma CLI,文档上传也不会进入该依赖。`CVE-2025-68121` 位于 `react-email` 开发/预览 CLI 携带的 esbuild Go 二进制,生产服务器只使用 `@react-email/render`,不会执行 esbuild。 +- 若 `latest` 标签解析到新镜像、入口改回 npm/npx、加入运行时包安装/归档解包,或生产流程开始调用 `react-email`/esbuild CLI,上述默认路径例外立即失效,必须重新扫描与验证。 ## Introduction @@ -52,7 +52,7 @@ On first install, the initialization script creates a passphrase-protected self- ## Security Note -The official images currently contain upstream vulnerabilities. This package bypasses the npm/npx startup path containing vulnerable `tar@7.5.11` and directly invokes the installed Prisma CLI. The vulnerable esbuild Go binary belongs to the unused `react-email` preview/build CLI; production rendering imports `@react-email/render` and does not execute esbuild. These are reachability exceptions, not claims that the vulnerable files are absent. Reassess whenever image digests or runtime commands change. +The audited official image snapshot contains upstream vulnerabilities. This package bypasses the npm/npx startup path containing vulnerable `tar@7.5.11` and directly invokes the installed Prisma CLI. The vulnerable esbuild Go binary belongs to the unused `react-email` preview/build CLI; production rendering imports `@react-email/render` and does not execute esbuild. These are reachability exceptions, not claims that the vulnerable files are absent. Reassess whenever the moving `latest` tag resolves to a new image or runtime commands change. ## References diff --git a/apps/documenso/latest/docker-compose.yml b/apps/documenso/latest/docker-compose.yml index 8954ea991..ac4741cce 100644 --- a/apps/documenso/latest/docker-compose.yml +++ b/apps/documenso/latest/docker-compose.yml @@ -1,6 +1,6 @@ services: documenso: - image: "documenso/documenso:latest@sha256:945bd2c04306bd5d78def0c4ceafdffb6b0a106cd6a2543db5acda9a6424b2d9" + image: "documenso/documenso:latest" container_name: ${CONTAINER_NAME} restart: unless-stopped command: