Repository navigation
[INFRA-843] fix: close the 2026-10-26 nightly Trivy findings - #10119
pratapalakshmi wants to merge 1 commit into
Conversation
…o 2026-10-26 Advisories that red the plane-live, plane-space and plane-aio-community legs of the nightly scan: - body-parser CVE-2026-111181: exact pin 1.20.6 -> 1.20.9 - undici CVE-2026-109869: exact pin 7.30.0 -> 7.30.1 - zod CVE-2023-54404: no 3.x fix, so the catalog moves ^3.25.76 -> ^4.6.7 and an override keeps eslint-plugin-react-hooks on it too. The live document controller reads ZodError.issues (zod 4 dropped .errors). - curl/libcurl CVE-2026-92392: APK_SECURITY_PATCH 2026-10-26 busts the cached apk-upgrade layer so a rebuild installs 8.23.0-r0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
React Doctor found no new issues. 🎉 Reviewed by React Doctor for commit |
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Dependency versions and validation mapping pnpm-workspace.yaml, apps/live/src/controllers/document.controller.ts |
The workspace updates zod to ^4.6.7, undici@7 to 7.30.1, and body-parser to 1.20.9. The document controller reads validation errors from error.issues. |
APK security patch defaults apps/admin/Dockerfile.admin, apps/api/Dockerfile.api, apps/live/Dockerfile.live, apps/proxy/Dockerfile.ce, apps/space/Dockerfile.space, apps/web/Dockerfile.web, deployments/aio/community/Dockerfile |
Each Dockerfile changes the APK_SECURITY_PATCH default from 2026-10-22 to 2026-10-26. |
Priority:
Estimated code review effort: 2 (Simple) | ~12 minutes
Change: Bug fix
Possibly related PRs
- makeplane/plane#9924: Continues the
undici@7version updates from7.30.0to7.30.1. - makeplane/plane#10098: Updates separate dependencies in the same INFRA-843 Trivy remediation series.
- makeplane/plane#9988: Updates Caddy Go dependencies as part of the same container-image Trivy remediation series.
Merge Risk: 
Minimal · up to 721da
-
The reviewed security and dependency updates present no established merge-blocking risk.
Pre-merge checks: 
5
-
Full details: Title check
-
Explanation
The title names a ticket ID, a conventional-commit type, and a date-specific goal (closing the 2026-10-26 nightly Trivy findings). It is specific and matches the changeset, which bumps body-parser, undici, and zod, adds an override, updates ZodError.issues, and bumps APK_SECURITY_PATCH. It does not name the packages or the Alpine curl fix, so it covers only part of the change, but it does not mislead.
Full details: Description check
-
Explanation
The description follows the template. It has a Description section that explains the Trivy findings, the package changes, the zod 4 migration, and the APK patch bump. It has a Type of Change section with the Bug fix box checked. It has a Test Scenarios section with commands run and results. It has a References section linking INFRA-843 and the companion PR. The Screenshots section is marked N/A. The description says some verification (check:types and the full image builds) was not run. That gap is disclosed, not missing, so the template is satisfied.
Full details: Docstring Coverage
-
Explanation
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. (8 skipped: 8 unsupported.)
-
Finishing Touches
-
📝 Generate docstrings
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Comment @coderabbitai help to get the list of available commands.
|
Linked to Plane Work Item(s) This comment was auto-generated by Plane |
|
Superseded by #10120: the same commits and diff, re-raised so the commit history carries no co-author trailer. Please continue the review there. |
Description
Clears the findings that fail the community legs (
plane-live,plane-space,plane-aio-community) of plane-ee's nightly Trivy scan (run 40251334553). The advisories were published on 2026-10-23, after the last image push.^4.6.7. An override keeps eslint-plugin-react-hooks, which declares^3.25.0 || ^4.0.0, on the same copy. The only code change is thatapps/livedocument controller now readsZodError.issues, because zod 4 removed.errors. That matches plane-ee's live controllers.APK_SECURITY_PATCHgoes to 2026-10-26 in all 7 Dockerfiles. That busts buildx's cached apk-upgrade layer so a rebuild installs curl 8.23.0-r0..trivyignore.yamlentry for**/node_modules/.pnpm/zod@3.25.76/**, which plane-ee's scan applies to these images too. This PR removes zod 3 from this repo entirely, so that entry hides nothing here.Type of Change
Screenshots and Media (if applicable)
N/A
Test Scenarios
aquasec/trivy:0.70.0 fs --severity CRITICAL,HIGH --ignore-unfixed --include-dev-depsonpnpm-lock.yamlbefore and after this change: 3 findings (body-parser, undici, zod) before, 0 after.node:22-alpine+ apk upgrade +apk del go+ npm removal +apk add curl) and the AIO runner (python:3.12.12-alpine+ apk upgrade + the realapk addlist). Scanned with--platform linux/amd64, both gave 0 findings with curl/libcurl 8.23.0-r0.check:typesor build the full app images here. To check, runpnpm --filter live check:typesand testPOST /convert-documentwith an invalid body; it should return a 400 withvalidationErrors. Then dispatchbuild-branch.ymlon this branch and scan withtag_name=fixsecurity-scan-2026-10-26.References
INFRA-843. Companion plane-ee PR: https://github.com/makeplane/plane-ee/pull/10666
🤖 Generated with Claude Code
Summary by CodeRabbit
Security
Bug Fixes