mirror of
https://github.com/r3bo0tbx1/tor-guard-relay.git
synced 2026-04-06 00:32:04 +02:00
🛡 fix(security): resolve critical CVEs via multi-stage build and OS upgrade
This commit addresses high-severity vulnerabilities detected by Docker Scout in both the Lyrebird binary and the Alpine base image. Changes: - Lyrebird: Implemented a multi-stage build using golang:1.24-alpine. This compiles Lyrebird from source to resolve "baked-in" Go runtime and dependency vulnerabilities (stdlib, crypto, pion) found in the upstream Alpine package. - Base OS: Added apk upgrade --no-cache to force the installation of the latest system libraries, patching active CVEs in musl and openssl. Resolves: CVE-2025-9230 (openssl), CVE-2025-26519 (musl), and multiple Go runtime CVEs.
This commit is contained in:
@@ -46,9 +46,9 @@ LABEL maintainer="rE-Bo0t.bx1 <r3bo0tbx1@brokenbotnet.com>" \
|
||||
|
||||
SHELL ["/bin/ash", "-eo", "pipefail", "-c"]
|
||||
|
||||
# NOTE: 'lyrebird' removed from apk add list (copying it from builder instead)
|
||||
# NOTE: 'lyrebird' removed from apk add list (we copy it from builder instead)
|
||||
RUN set -eux \
|
||||
&& apk upgrade --no-cache
|
||||
&& apk upgrade --no-cache \
|
||||
&& apk add --no-cache \
|
||||
tor \
|
||||
tini \
|
||||
|
||||
Reference in New Issue
Block a user