Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ledger/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM docker.io/busybox:1.36 AS tools

ENV GRPC_HEALTH_PROBE_VERSION v0.4.38
ENV GRPC_HEALTH_PROBE_VERSION v0.4.40

Choose a reason for hiding this comment

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

medium

For better maintainability, it's helpful to add a comment explaining why this specific version is pinned. This provides context for future developers, especially since this change is for a security fix.

# Pin to v0.4.40 to address CVE-2024-22874 (GHSA-6f52-wpx2-hvf2)
ENV GRPC_HEALTH_PROBE_VERSION v0.4.40


# Install grpc_health_probe for kubernetes.
# https://kubernetes.io/blog/2018/10/01/health-checking-grpc-servers-on-kubernetes/
Expand Down