Skip to content

chore(deps): bump vite to ^8.0.5 (latest 8.0.x); unpin Python base image#12711

Merged
mekarpeles merged 1 commit into
masterfrom
chore/security-dep-bumps-2026-05
May 20, 2026
Merged

chore(deps): bump vite to ^8.0.5 (latest 8.0.x); unpin Python base image#12711
mekarpeles merged 1 commit into
masterfrom
chore/security-dep-bumps-2026-05

Conversation

@mekarpeles
Copy link
Copy Markdown
Member

Summary

  • vite ^8.0.3^8.0.5: fixes three CVEs in 8.0.3–8.0.4 (path traversal in optimized deps GHSA-4w7w-66w2-5vf9, server.fs.deny bypass GHSA-v2wj-q39q-566r, arbitrary file read via WebSocket GHSA-p9ff-h696-f583). Risk is developer/CI machines running the Vite dev server.
  • Dockerfile.olbase Python base image: python:3.12.2-slim-bookworm (March 2024) → python:3.12-slim-bookworm to track CPython security patches automatically (current: 3.12.11, includes CVE-2024-6232 tarfile ReDoS, CVE-2024-7592 http.cookies injection, and others).

Note: most other security dep bumps identified in a recent audit (Pillow, lodash, HAProxy, svgo, css-minimizer-webpack-plugin) were already applied in master. This PR covers the remaining two.

Testing

  • npm install — 0 vulnerabilities after vite bump
  • make js — JS bundle builds cleanly with vite 8.0.5
  • Pre-commit passes on changed files

Checklist

  • vite 8.0.5 installs and JS builds pass
  • Python base image updated to floating tag
  • No new errors introduced

Copilot AI review requested due to automatic review settings May 11, 2026 18:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 updates frontend tooling and container base image choices to address security concerns: it bumps the Vite dev dependency and changes the olbase Docker image to track Python 3.12 patch releases automatically.

Changes:

  • Bump vite dependency from ^8.0.3 to ^8.0.5 (and update npm lockfile accordingly).
  • Unpin docker/Dockerfile.olbase from python:3.12.2-slim-bookworm to python:3.12-slim-bookworm.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
package.json Updates Vite version range used for dev/build tooling.
package-lock.json Updates lockfile to reflect the new Vite dependency range/resolution.
docker/Dockerfile.olbase Switches Python base image tag to a floating 3.12 patch tag for security updates.

Comment thread package.json
Comment thread docker/Dockerfile.olbase
@mekarpeles mekarpeles self-assigned this May 11, 2026
vite 8.0.3–8.0.4 has three CVEs: path traversal in optimized deps
(GHSA-4w7w-66w2-5vf9), server.fs.deny bypass (GHSA-v2wj-q39q-566r),
and arbitrary file read via dev server WebSocket (GHSA-p9ff-h696-f583).
Fixed in 8.0.5.

Python base image switched from pinned 3.12.2-slim-bookworm (March 2024)
to floating 3.12-slim-bookworm to track CPython security patches
automatically. Current is 3.12.11 with several stdlib CVE fixes.

JS build verified passing after npm install.
@mekarpeles mekarpeles force-pushed the chore/security-dep-bumps-2026-05 branch from 55cec7a to 46fc271 Compare May 20, 2026 21:46
@mekarpeles mekarpeles changed the title chore(deps): bump vite to 8.0.5; unpin Python base image chore(deps): bump vite to ^8.0.5 (latest 8.0.x); unpin Python base image May 20, 2026
@mekarpeles mekarpeles merged commit 8679042 into master May 20, 2026
8 of 9 checks passed
@mekarpeles mekarpeles deleted the chore/security-dep-bumps-2026-05 branch May 20, 2026 22:54
@humansakhini-gif
Copy link
Copy Markdown

Done.

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