Skip to content

chore(deps): record accept-risk CVE suppressions + document security-update flow (#1498) - #1821

Merged
yannickmonney merged 2 commits into
mainfrom
fix/cve-trivy-suppressions-doc
Jun 2, 2026
Merged

yannickmonney merged 2 commits into
mainfrom
fix/cve-trivy-suppressions-doc

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

What

Preparatory step toward ratcheting the dependency-CVE gate from CRITICAL to HIGH (#1498). The gate stays at CRITICAL in this PR — the HIGH backlog still includes advisories with no upstream fix (notably lodash, whose _.template advisory has no patched release), and bun audit has no scoped-ignore mechanism, so flipping to HIGH now would break CI on unfixable, accepted risk. This PR records the accept-risk decisions and documents the security-update flow so the eventual ratchet is a one-line change.

Changes

  • .trivyignore.yaml — new vulnerabilities: section with compensating-control statements for the known, unfixable HIGHs:
    • xlsx / SheetJS community edition (CVE-2023-30533, CVE-2024-22363, CVE-2024-22364) — server-side, authenticated-upload parse path only; frozen on npm, fixed only in the CDN build (migration tracked separately).
    • lodash (GHSA-r5fr-rjxr-66jc) — _.template code-injection; Tale never compiles templates from user input, and no fixed release exists.
    • These have no effect at the current CRITICAL gate (they're HIGH); they're staged so the future HIGH ratchet doesn't trip on accepted risk.
  • docs/advisories (en/de/fr) — document the security-update fast track: Renovate opens a security PR within 24h of an upstream advisory (bypassing the routine release-age delay) and CI blocks known-critical merges, so a disclosed dependency CVE becomes a patched release in days.

Not in this PR (deferred)

The actual gate ratchet to HIGH. It depends on resolving or accept-risk-suppressing the remaining transitive HIGHs (lodash, picomatch) across both gates, and bun audit lacking a scoped-ignore makes that a separate, careful change. Tracked in #1498.

Tests

bun run check green (37/37 tasks, 71491 tests); docs suite 139/139; .trivyignore.yaml parses.

Part of the #1803 security/compliance epic.

…update flow (#1498)

Preparatory work toward ratcheting the CVE gate from CRITICAL to HIGH. The
HIGH backlog still carries unfixable transitive advisories (lodash has no
patched release), so the gate stays at CRITICAL for now — but the accepted,
unfixable HIGHs are recorded with compensating-control statements so the
ratchet won't trip on them when it lands.

- .trivyignore.yaml: vulnerabilities section for xlsx (CVE-2023-30533,
  CVE-2024-22363, CVE-2024-22364) and lodash (GHSA-r5fr-rjxr-66jc), each with
  a compensating-control statement. No effect at the current CRITICAL gate;
  preparatory for the HIGH ratchet.
- docs advisories (en/de/fr): document the security-update fast track —
  Renovate opens a security PR within 24h of an advisory and CI blocks
  known-critical merges — so self-hosters understand security releases are
  produced promptly.
@coderabbitai

coderabbitai Bot commented Jun 2, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@yannickmonney, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 36 minutes and 33 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: e9d09fc8-53e8-4fe5-bf30-1b2be5755697

📥 Commits

Reviewing files that changed from the base of the PR and between 29963ce and c3e1142.

📒 Files selected for processing (4)
  • .trivyignore.yaml
  • docs/de/self-hosted/operate/security/advisories.md
  • docs/en/self-hosted/operate/security/advisories.md
  • docs/fr/self-hosted/operate/security/advisories.md
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/cve-trivy-suppressions-doc

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@yannickmonney
yannickmonney merged commit e60785c into main Jun 2, 2026
30 checks passed
@yannickmonney
yannickmonney deleted the fix/cve-trivy-suppressions-doc branch June 2, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant