Skip to content

fix(ci): suppress non-exploitable react-router CVE (GHSA-qwww-vcr4-c8h2), unblock nightly scan - #103

Merged
WolfTasks merged 2 commits into
mainfrom
fix/nightly-react-router-cve-suppress
Jul 29, 2026
Merged

fix(ci): suppress non-exploitable react-router CVE (GHSA-qwww-vcr4-c8h2), unblock nightly scan#103
WolfTasks merged 2 commits into
mainfrom
fix/nightly-react-router-cve-suppress

Conversation

@WolfTasks

Copy link
Copy Markdown
Owner

Problem

Nightly Security Scan (Trivy-Gate) schlägt seit 2026-07-25 fehl, zusätzlich der Dependabot Updates-Lauf seit 2026-07-28. Ursache: eine einzelne, neu offengelegte HIGH-CVE.

CVE GHSA-qwww-vcr4-c8h2 (react-router 7.18.1, HIGH, CVSS 7.1)
Art CSRF (CWE-352) ausschließlich im unstable RSC-Modus (React Server Components)
Exploitability Nicht betroffen — TaskWolf ist reine Client-SPA (createBrowserRouter, kein SSR/RSC, keine unstable_-APIs)
Fix Nur react-router 8.3.0 (Major; react-router-dom in v8 aufgelöst, kein v7-Patch) → Dependabot kann nicht auto-fixen

Änderungen

  • .trivyignore: begründete Ausnahme für GHSA-qwww-vcr4-c8h2 (RSC-only, Client-SPA nicht betroffen).
  • Dependabot-Alert build(deps): bump nginx from 54f2a90 to 4a73073 in /frontend #82 dismissed (not_used) via API — stoppt den wiederkehrenden Dependabot Updates-Fehllauf.
  • v8-Migrations-Plan als Backlog-Doku (docs/superpowers/plans/2026-07-29-react-router-v8-migration.md) — löst die Ausnahme später sauber auf (42 Import-Umstellungen + CI-Node-Bump 20→22).

Verifikation

  • PR-CI (ci.yml) spiegelt den Nightly-Trivy-Gate → grüner Lauf hier bestätigt, dass die Ausnahme greift.
  • Nach Merge: nächster Nightly Security Scan läuft gegen main mit der Ausnahme → grün.

🤖 Generated with Claude Code

Wolfgang Kozian and others added 2 commits July 29, 2026 19:38
… scan

Die Nightly-Security-Scan- und Dependabot-Update-Läufe schlagen seit
2026-07-25 fehl wegen GHSA-qwww-vcr4-c8h2 (react-router 7.18.1, HIGH,
CVSS 7.1). Die CVE ist eine CSRF-Lücke ausschließlich im unstable
RSC-Modus (React Server Components). TaskWolf-Frontend ist eine reine
Client-SPA (createBrowserRouter, kein SSR/RSC) → verwundbarer Code-Pfad
ungenutzt, nicht ausnutzbar.

Fix nur in react-router 8.3.0 (Major; react-router-dom in v8 aufgelöst,
kein v7-Patch) → Dependabot kann nicht auto-fixen.

- .trivyignore: begründete Ausnahme für GHSA-qwww-vcr4-c8h2
- Dependabot-Alert #82 dismissed (not_used) via API
- v8-Migrations-Plan als Backlog dokumentiert, löst die Ausnahme später auf

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Der frontend-build npm-audit-Gate (`npm audit --audit-level=high`) failt
ebenfalls an GHSA-qwww-vcr4-c8h2 — .trivyignore greift dort nicht, und
npm audit kann einzelne Advisories nicht ausnehmen.

Ersetzt durch .github/scripts/audit-gate.mjs: blockt weiterhin bei jedem
nicht-allowlisteten HIGH/CRITICAL-Advisory, lässt aber die begründete
Ausnahme (RSC-only, Client-SPA nicht betroffen) durch. Gleiche Policy wie
.trivyignore. Negativ-getestet: leere Allowlist -> exit 1.

v8-Migrations-Plan um dritten Aufräum-Ort ergänzt.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@WolfTasks
WolfTasks merged commit c6832ef into main Jul 29, 2026
11 checks passed
@WolfTasks
WolfTasks deleted the fix/nightly-react-router-cve-suppress branch July 29, 2026 17:50
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