Skip to content

⬆️(dependencies) fix security advisories in dependencies#773

Merged
kernicPanel merged 5 commits into
fix/dockerfile-hardeningfrom
fix/security-dependency-updates
Jul 22, 2026
Merged

⬆️(dependencies) fix security advisories in dependencies#773
kernicPanel merged 5 commits into
fix/dockerfile-hardeningfrom
fix/security-dependency-updates

Conversation

@kernicPanel

@kernicPanel kernicPanel commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Purpose

Close several open Dependabot security advisories in one go, resolving
the shared frontend lockfile a single time to avoid the mutual conflicts
between the individual Renovate PRs (#705, #744, #714).

Proposal

Supersedes #705, #744, #714, #741 and #775 (#741 kept the 3.13 runtime
instead of jumping to 3.14). The mjml/js-cookie advisory is deliberately
left out for a dedicated PR, as the v5 bump is a major on the mail
template build.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR resolves multiple dependency security advisories by upgrading key frontend build/runtime tooling (Next.js, Vite, Turbo) and aligning the lockfiles, plus updating the backend container base image and a Python transitive dependency.

Changes:

  • Bump Next.js to 15.5.18 (and corresponding @next/* lock entries).
  • Bump Vite to 6.4.3 and Turbo to 2.9.14 (including updated Turbo platform packages in the lockfile).
  • Update backend deps by upgrading idna to 3.18 and move the Docker base image to python:3.13.14-alpine.

Reviewed changes

Copilot reviewed 5 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/frontend/yarn.lock Updates lockfile entries for Next.js 15.5.18, Vite 6.4.3, and Turbo 2.9.14 (incl. Turbo platform packages).
src/frontend/packages/sdk/package.json Pins vite to 6.4.3 for the SDK package build tooling.
src/frontend/package.json Upgrades workspace-level turbo devDependency to 2.9.14.
src/frontend/apps/sdk-consumer/package.json Updates vite to 6.4.3 for the SDK consumer app.
src/frontend/apps/drive/package.json Updates next to 15.5.18 for the Drive frontend app.
src/backend/uv.lock Updates idna to 3.18 in the backend lockfile.
Dockerfile Updates the base image to python:3.13.14-alpine.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kernicPanel
kernicPanel force-pushed the fix/security-dependency-updates branch from 7cd5830 to 8913156 Compare July 21, 2026 13:53
Next 15.5.18, Vite 6.4.3 and Turbo 2.9.14 patch several advisories:
Next.js server components denial of service (GHSA-26hh-7cqf-hhc6),
Vite server.fs.deny bypass (GHSA-fx2h-pf6j-xcff) and Turbo local
code execution on untrusted repositories (GHSA-3qcw-2rhx-2726).
Rebase the backend image on python:3.13.14-alpine (Alpine 3.24) to
pull the patched openssl fixing CVE-2026-31789. Stays within the
pinned 3.13 runtime, so no dependency re-resolution is needed.
Bump the transitive idna to 3.18 to fix GHSA-65pc-fj4g-8rjx, where
crafted input to idna.encode() bypasses the CVE-2024-3651 mitigation.
Raise the transitive pillow constraint to 12.3.0 to fix
CVE-2026-54058 (GHSA-pg7v-jwj7-p798), flagged by the trivy
scan on the backend image.
@kernicPanel
kernicPanel force-pushed the fix/security-dependency-updates branch from cbdb1d8 to 380525a Compare July 21, 2026 16:40
@kernicPanel
kernicPanel changed the base branch from main to fix/dockerfile-hardening July 21, 2026 16:40
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

💡 Need a hand with PR review? Try Gitar by Sonar!

@kernicPanel
kernicPanel merged commit c3bba27 into fix/dockerfile-hardening Jul 22, 2026
12 of 13 checks passed
@kernicPanel
kernicPanel deleted the fix/security-dependency-updates branch July 22, 2026 13:22
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.

3 participants