Skip to content

Commit

Permalink
fix: update Dockerfiles to address CVEs by adding musl and curl packages
Browse files Browse the repository at this point in the history
  • Loading branch information
TheophileDiot committed Feb 17, 2025
1 parent c295f06 commit 1ebaed3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/autoconf/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ RUN apk add --no-cache bash tzdata && \

# Fix CVEs
RUN apk add --no-cache "libssl3>=3.3.3-r0" "libcrypto3>=3.3.3-r0" # CVE-2024-12797
RUN apk add --no-cache "musl>=1.2.5-r9" "musl-utils>=1.2.5-r9" # CVE-2025-26519

# Copy dependencies
COPY --from=builder --chown=0:101 /usr/share/bunkerweb /usr/share/bunkerweb
Expand Down
2 changes: 2 additions & 0 deletions src/bw/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ RUN apk add --no-cache openssl pcre bash python3 yajl geoip libxml2 libgd curl t

# Fix CVEs
RUN apk add --no-cache "openssl>=3.3.3-r0" "libssl3>=3.3.3-r0" "libcrypto3>=3.3.3-r0" # CVE-2024-12797
RUN apk add --no-cache "curl>=8.12.0-r0" "libcurl>=8.12.0-r0" # CVE-2025-0725 CVE-2025-0167 CVE-2025-0665
RUN apk add --no-cache "musl>=1.2.5-r1" "musl-utils>=1.2.5-r1" # CVE-2025-26519

# Copy dependencies
COPY --from=builder --chown=0:101 /usr/share/bunkerweb /usr/share/bunkerweb
Expand Down
1 change: 1 addition & 0 deletions src/scheduler/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ RUN apk add --no-cache bash unzip libgcc libstdc++ libpq openssl libmagic mariad

# Fix CVEs
RUN apk add --no-cache "openssl>=3.3.3-r0" "libssl3>=3.3.3-r0" "libcrypto3>=3.3.3-r0" # CVE-2024-12797
RUN apk add --no-cache "musl>=1.2.5-r9" "musl-utils>=1.2.5-r9" # CVE-2025-26519


# Copy dependencies
Expand Down
1 change: 1 addition & 0 deletions src/ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ RUN apk add --no-cache bash unzip mariadb-connector-c mariadb-client postgresql-

# Fix CVEs
RUN apk add --no-cache "libssl3>=3.3.3-r0" "libcrypto3>=3.3.3-r0" # CVE-2024-12797
RUN apk add --no-cache "musl>=1.2.5-r9" "musl-utils>=1.2.5-r9" # CVE-2025-26519

# Copy dependencies
COPY --from=builder --chown=0:101 /usr/share/bunkerweb /usr/share/bunkerweb
Expand Down

0 comments on commit 1ebaed3

Please sign in to comment.