Skip to content

chore: upgrade libuuid in the runtime image - #540

Merged
andrii-novikov merged 1 commit into
developmentfrom
chore/539-upgrade-libuuid
Sep 8, 2026
Merged

andrii-novikov merged 1 commit into
developmentfrom
chore/539-upgrade-libuuid

Conversation

@andrii-novikov

@andrii-novikov andrii-novikov commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Applicable issues

Description of changes

Trivy fails run_tests / docker_build on 7 HIGH CVEs in libuuid, inherited from python:3.13-alpine, so every PR is red regardless of its contents.

The runtime stage upgrades only a named list of base-image packages; this adds libuuid to it. The fixed version is already published to the Alpine v3.24 repo, so it takes effect on the next build.

Verified locally: a baseline image off development reproduces the 7 CVEs, the patched image scans clean and still starts.

Checklist

  • Title of the pull request follows Conventional Commits specification
  • [ ] Design documented is updated/created and approved by the team (if applicable) (one-line package upgrade)
  • [ ] Documentation is updated/created (if applicable) (no behavior change)
  • Changes are tested on review environment
  • [ ] App schema changes are backward compatible, or breaking changes are documented with a migration guide (no app schema change)
  • Integration tests pass

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Trivy fails run_tests / docker_build on 7 HIGH CVEs in libuuid
(util-linux 2.42.1-r0) inherited from python:3.13-alpine, turning
the check red on every PR regardless of its contents.

The runtime stage upgrades only a named list of base-image packages
and libuuid was not on it. The fixed package (2.42.3-r1) is already
published to the Alpine v3.24 repo, so adding it takes effect on the
next build rather than waiting on an unbounded base-image rebuild.

fixes #539

Claude-Session: https://claude.ai/code/session_01GkNnwDJBMZSLvhYjp8311Y
@andrii-novikov andrii-novikov self-assigned this Sep 8, 2026
@andrii-novikov
andrii-novikov enabled auto-merge (squash) September 8, 2026 07:17
@andrii-novikov
andrii-novikov merged commit a93e7e6 into development Sep 8, 2026
11 checks passed
@andrii-novikov
andrii-novikov deleted the chore/539-upgrade-libuuid branch September 8, 2026 07:27
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.

Dockerfile runtime stage leaves libuuid unpatched, failing the Trivy gate in docker_build

2 participants