Skip to content

Commit 9c3c95a

Browse files
committed
fix postgres cve in containers
1 parent 2863f41 commit 9c3c95a

5 files changed

Lines changed: 5 additions & 4 deletions

File tree

src/all-in-one/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ RUN umask 027
172172
RUN apk add --no-cache bash curl geoip grep libgcc libgd libmagic libpq libstdc++ libxml2 mariadb-client mariadb-connector-c openssl pcre2 python3 py3-pip sed sqlite postgresql-client tzdata unzip yajl supervisor brotli lmdb libfuzzy2
173173

174174
# Fix CVEs
175-
RUN apk add --no-cache "nghttp2-libs>=1.68.1" # CVE-2026-27135
175+
RUN apk add --no-cache "nghttp2-libs>=1.68.1" "postgresql18>=18.4-r0"
176176

177177
COPY src/deps/requirements.txt /tmp/requirements-deps.txt
178178

src/api/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ RUN apk add --no-cache bash unzip mariadb-connector-c mariadb-client sqlite post
4545
adduser -h /usr/share/bunkerweb/api -g api -s /sbin/nologin -G api -D -H -u 101 --disabled-password api
4646

4747
# Fix CVEs
48-
RUN apk add --no-cache "xz-libs>=5.8.3-r0" # CVE-2026-34743
48+
RUN apk add --no-cache "xz-libs>=5.8.3-r0" "postgresql18>=18.4-r0"
4949

5050
# Copy deps and app
5151
COPY --from=builder --chown=0:101 --chmod=550 /usr/share/bunkerweb /usr/share/bunkerweb

src/autoconf/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ RUN apk add --no-cache bash tzdata mariadb-connector-c mariadb-client sqlite pos
4444
adduser -h /usr/share/bunkerweb/autoconf -g autoconf -s /sbin/nologin -G autoconf -D -H -u 101 --disabled-password autoconf
4545

4646
# Fix CVEs
47-
RUN apk add --no-cache "xz-libs>=5.8.3-r0" # CVE-2026-34743
47+
RUN apk add --no-cache "xz-libs>=5.8.3-r0" "postgresql18>=18.4-r0"
4848

4949
# Copy dependencies
5050
COPY --from=builder --chown=0:101 --chmod=550 /usr/share/bunkerweb /usr/share/bunkerweb

src/scheduler/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ RUN apk add --no-cache bash unzip curl libgcc libstdc++ libpq openssl libmagic m
5959
# Fix CVEs
6060
RUN apk add --no-cache "nghttp2-libs>=1.68.1" # CVE-2026-27135
6161
RUN apk add --no-cache "xz-libs>=5.8.3-r0" # CVE-2026-34743
62+
RUN apk add --no-cache "postgresql18>=18.4-r0"
6263

6364
# Copy dependencies
6465
COPY --from=builder --chown=0:101 --chmod=550 /usr/share/bunkerweb /usr/share/bunkerweb

src/ui/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ RUN apk add --no-cache bash unzip mariadb-connector-c mariadb-client sqlite post
8383
adduser -h /usr/share/bunkerweb/ui -g ui -s /sbin/nologin -G ui -D -H -u 101 --disabled-password ui
8484

8585
# Fix CVEs
86-
RUN apk add --no-cache "xz-libs>=5.8.3-r0" # CVE-2026-34743
86+
RUN apk add --no-cache "xz-libs>=5.8.3-r0" "postgresql18>=18.4-r0"
8787

8888
# Copy dependencies
8989
COPY --from=builder --chown=0:101 --chmod=550 /usr/share/bunkerweb /usr/share/bunkerweb

0 commit comments

Comments
 (0)