Skip to content

Commit 822101e

Browse files
committed
Patch CVE-2024-45338 for package rclone in image ffmpeg
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent b75e36c commit 822101e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.ffmpeg/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ ARG VERSION_FFMPEG="7.1"
33
ARG VERSION_RCLONE="v1.68.2"
44
ARG VERSION_GO="latest"
55
ARG GO_CRYPTO_VERSION="v0.31.0"
6+
ARG GO_NET_VERSION="v0.33.0"
67

78
USER root
89

@@ -33,6 +34,7 @@ RUN cd /usr/local/src \
3334
&& git checkout $VERSION_RCLONE \
3435
# Patch deps version in go.mod to fix CVEs
3536
&& sed -i "s|golang.org/x/crypto v.*|golang.org/x/crypto ${GO_CRYPTO_VERSION}|g" go.mod \
37+
&& sed -i "s|golang.org/x/net v.*|golang.org/x/net ${GO_NET_VERSION}|g" go.mod \
3638
&& go mod tidy \
3739
# Build rclone
3840
&& make \

0 commit comments

Comments
 (0)