You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by zh...@apache.org on 2024/05/17 07:30:42 UTC
(pulsar) branch branch-3.3 updated: [fix][build] Fix CVE-2024-2511 by upgrading to OpenSSL in docker image (#22731)
This is an automated email from the ASF dual-hosted git repository.
zhaocong pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-3.3 by this push:
new 3fcba6ca685 [fix][build] Fix CVE-2024-2511 by upgrading to OpenSSL in docker image (#22731)
3fcba6ca685 is described below
commit 3fcba6ca685a26db838381ded2c7df5b031fa8de
Author: Matteo Merli <mm...@apache.org>
AuthorDate: Fri May 17 00:10:52 2024 -0700
[fix][build] Fix CVE-2024-2511 by upgrading to OpenSSL in docker image (#22731)
(cherry picked from commit 528c4b0fdb0207ac33d7715829761d0a83830544)
---
docker/pulsar/Dockerfile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/docker/pulsar/Dockerfile b/docker/pulsar/Dockerfile
index 1486947fc6f..e1f1dd1e06f 100644
--- a/docker/pulsar/Dockerfile
+++ b/docker/pulsar/Dockerfile
@@ -101,6 +101,10 @@ RUN apk add --no-cache \
procps \
curl
+# Fix CVE-2024-2511 by upgrading to OpenSSL 3.1.4-r6
+# We can remove once new Alpine image is released
+RUN apk upgrade --no-cache libssl3 libcrypto3
+
# Install GLibc compatibility library
COPY --from=glibc /root/packages /root/packages
RUN apk add --allow-untrusted --force-overwrite /root/packages/glibc-*.apk