Skip to content

Commit 48c79bd

Browse files
committed
Docker: Explicit version of io.netty to resolve CVEs
[skip ci] Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent 1086df5 commit 48c79bd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Base/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ARG RELEASE=selenium-${VERSION}
99
# Default value should be aligned with upstream Selenium (https://github.com/SeleniumHQ/selenium/blob/trunk/MODULE.bazel)
1010
ARG OPENTELEMETRY_VERSION=1.55.0
1111
ARG GRPC_VERSION=1.76.0
12+
ARG NETTY_VERSION=4.2.7.Final
1213
ARG CS_VERSION=2.1.25-M18
1314
ARG ENVSUBST_VERSION=1.4.6
1415
ARG CURL_VERSION=8.16.0
@@ -142,6 +143,11 @@ RUN --mount=type=secret,id=SEL_PASSWD \
142143
java -jar /tmp/cs fetch --classpath --cache /external_jars \
143144
io.opentelemetry:opentelemetry-exporter-otlp:${OPENTELEMETRY_VERSION} \
144145
io.grpc:grpc-netty:${GRPC_VERSION} \
146+
io.netty:netty-handler-proxy:${NETTY_VERSION} \
147+
io.netty:netty-parent:${NETTY_VERSION} \
148+
io.netty:netty-codec-http:${NETTY_VERSION} \
149+
io.netty:netty-codec-http2:${NETTY_VERSION} \
150+
io.netty:netty-codec:${NETTY_VERSION} \
145151
> /external_jars/.classpath.txt \
146152
&& chmod 664 /external_jars/.classpath.txt ; \
147153
fi \

0 commit comments

Comments
 (0)