-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] libpq-dev in the docker file contains CVE-2025-1094, bump up to the fixed version #11314
Comments
I am also seeing this when trying to build Running the following command with the Dockerfile copied into my working directory:
Returns the following error:
View full error logs[+] Building 10.8s (5/8) => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 37B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load metadata for docker.io/library/python:3.11.2-slim-bul 0.8s => CACHED [base 1/3] FROM docker.io/library/python:3.11.2-slim-bullseye@ 0.0s => ERROR [base 2/3] RUN apt-get update && apt-get dist-upgrade -y && 9.9s ------ > [base 2/3] RUN apt-get update && apt-get dist-upgrade -y && apt-get install -y --no-install-recommends build-essential=12.9 ca-certificates=20210119 git=1:2.30.2-1+deb11u2 libpq-dev=13.18-0+deb11u1 make=4.3-4.1 openssh-client=1:8.4p1-5+deb11u3 software-properties-common=0.96.20.2-2.1 && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*: #5 0.391 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] #5 0.455 Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB] #5 0.485 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] #5 0.573 Get:4 http://deb.debian.org/debian bullseye/main arm64 Packages [7955 kB] #5 0.858 Get:5 http://deb.debian.org/debian-security bullseye-security/main arm64 Packages [342 kB] #5 0.876 Get:6 http://deb.debian.org/debian bullseye-updates/main arm64 Packages [16.3 kB] #5 1.561 Fetched 8500 kB in 1s (6715 kB/s) #5 1.561 Reading package lists... #5 1.874 Reading package lists... #5 2.122 Building dependency tree... #5 2.174 Reading state information... #5 2.182 Calculating upgrade... #5 2.368 The following packages will be upgraded: #5 2.368 adduser base-files bsdutils debian-archive-keyring dpkg e2fsprogs grep #5 2.368 libblkid1 libc-bin libc6 libcom-err2 libexpat1 libext2fs2 libgnutls30 #5 2.368 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libmount1 #5 2.368 libncursesw6 libsepol1 libsmartcols1 libsqlite3-0 libss2 libssl1.1 #5 2.368 libsystemd0 libtinfo6 libudev1 libuuid1 logsave mount ncurses-base #5 2.368 ncurses-bin openssl perl-base tar tzdata util-linux #5 2.451 38 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. #5 2.451 Need to get 19.2 MB of archives. #5 2.451 After this operation, 141 kB of additional disk space will be used. #5 2.451 Get:1 http://deb.debian.org/debian bullseye/main arm64 base-files arm64 11.1+deb11u11 [70.2 kB] #5 2.500 Get:2 http://deb.debian.org/debian bullseye/main arm64 bsdutils arm64 1:2.36.1-8+deb11u2 [145 kB] #5 2.532 Get:3 http://deb.debian.org/debian bullseye/main arm64 tar arm64 1.34+dfsg-1+deb11u1 [830 kB] #5 2.611 Get:4 http://deb.debian.org/debian bullseye/main arm64 dpkg arm64 1.20.13 [2521 kB] #5 2.735 Get:5 http://deb.debian.org/debian bullseye/main arm64 grep arm64 3.6-1+deb11u1 [390 kB] #5 2.843 Get:6 http://deb.debian.org/debian bullseye/main arm64 ncurses-bin arm64 6.2+20201114-2+deb11u2 [424 kB] #5 2.872 Get:7 http://deb.debian.org/debian-security bullseye-security/main arm64 perl-base arm64 5.32.1-4+deb11u4 [1499 kB] #5 2.930 Get:8 http://deb.debian.org/debian bullseye/main arm64 util-linux arm64 2.36.1-8+deb11u2 [1097 kB] #5 2.944 Get:9 http://deb.debian.org/debian bullseye/main arm64 libc6 arm64 2.31-13+deb11u11 [2455 kB] #5 2.980 Get:10 http://deb.debian.org/debian bullseye/main arm64 libc-bin arm64 2.31-13+deb11u11 [731 kB] #5 2.991 Get:11 http://deb.debian.org/debian bullseye/main arm64 ncurses-base all 6.2+20201114-2+deb11u2 [272 kB] #5 2.995 Get:12 http://deb.debian.org/debian-security bullseye-security/main arm64 libsystemd0 arm64 247.3-7+deb11u6 [355 kB] #5 3.001 Get:13 http://deb.debian.org/debian-security bullseye-security/main arm64 logsave arm64 1.46.2-2+deb11u1 [74.9 kB] #5 3.004 Get:14 http://deb.debian.org/debian-security bullseye-security/main arm64 libext2fs2 arm64 1.46.2-2+deb11u1 [251 kB] #5 3.009 Get:15 http://deb.debian.org/debian-security bullseye-security/main arm64 e2fsprogs arm64 1.46.2-2+deb11u1 [588 kB] #5 3.016 Get:16 http://deb.debian.org/debian bullseye/main arm64 mount arm64 2.36.1-8+deb11u2 [182 kB] #5 3.019 Get:17 http://deb.debian.org/debian bullseye/main arm64 adduser all 3.118+deb11u1 [241 kB] #5 3.022 Get:18 http://deb.debian.org/debian bullseye/main arm64 debian-archive-keyring all 2021.1.1+deb11u1 [110 kB] #5 3.023 Get:19 http://deb.debian.org/debian bullseye/main arm64 libblkid1 arm64 2.36.1-8+deb11u2 [187 kB] #5 3.029 Get:20 http://deb.debian.org/debian-security bullseye-security/main arm64 libcom-err2 arm64 1.46.2-2+deb11u1 [74.1 kB] #5 3.031 Get:21 http://deb.debian.org/debian-security bullseye-security/main arm64 libgnutls30 arm64 3.7.1-5+deb11u6 [1264 kB] #5 3.062 Get:22 http://deb.debian.org/debian bullseye/main arm64 libk5crypto3 arm64 1.18.3-6+deb11u5 [115 kB] #5 3.064 Get:23 http://deb.debian.org/debian bullseye/main arm64 libkrb5support0 arm64 1.18.3-6+deb11u5 [65.1 kB] #5 3.069 Get:24 http://deb.debian.org/debian bullseye/main arm64 libkrb5-3 arm64 1.18.3-6+deb11u5 [347 kB] #5 3.088 Get:25 http://deb.debian.org/debian bullseye/main arm64 libgssapi-krb5-2 arm64 1.18.3-6+deb11u5 [156 kB] #5 3.096 Get:26 http://deb.debian.org/debian-security bullseye-security/main arm64 libssl1.1 arm64 1.1.1w-0+deb11u2 [1396 kB] #5 3.126 Get:27 http://deb.debian.org/debian bullseye/main arm64 libmount1 arm64 2.36.1-8+deb11u2 [203 kB] #5 3.129 Get:28 http://deb.debian.org/debian-security bullseye-security/main arm64 libsepol1 arm64 3.1-1+deb11u1 [247 kB] #5 3.131 Get:29 http://deb.debian.org/debian bullseye/main arm64 libsmartcols1 arm64 2.36.1-8+deb11u2 [152 kB] #5 3.135 Get:30 http://deb.debian.org/debian bullseye/main arm64 libncursesw6 arm64 6.2+20201114-2+deb11u2 [121 kB] #5 3.136 Get:31 http://deb.debian.org/debian bullseye/main arm64 libtinfo6 arm64 6.2+20201114-2+deb11u2 [336 kB] #5 3.142 Get:32 http://deb.debian.org/debian-security bullseye-security/main arm64 libudev1 arm64 247.3-7+deb11u6 [164 kB] #5 3.145 Get:33 http://deb.debian.org/debian bullseye/main arm64 libuuid1 arm64 2.36.1-8+deb11u2 [83.4 kB] #5 3.146 Get:34 http://deb.debian.org/debian-security bullseye-security/main arm64 tzdata all 2024b-0+deb11u1 [305 kB] #5 3.151 Get:35 http://deb.debian.org/debian-security bullseye-security/main arm64 libexpat1 arm64 2.2.10-2+deb11u6 [85.2 kB] #5 3.214 Get:36 http://deb.debian.org/debian-security bullseye-security/main arm64 libsqlite3-0 arm64 3.34.1-3+deb11u1 [750 kB] #5 3.271 Get:37 http://deb.debian.org/debian-security bullseye-security/main arm64 libss2 arm64 1.46.2-2+deb11u1 [78.3 kB] #5 3.273 Get:38 http://deb.debian.org/debian-security bullseye-security/main arm64 openssl arm64 1.1.1w-0+deb11u2 [837 kB] #5 3.383 debconf: delaying package configuration, since apt-utils is not installed #5 3.397 Fetched 19.2 MB in 1s (20.9 MB/s) (Reading database ... 7023 files and directories currently installed.) #5 3.413 Preparing to unpack .../base-files_11.1+deb11u11_arm64.deb ... #5 3.416 Unpacking base-files (11.1+deb11u11) over (11.1+deb11u6) ... #5 3.447 Setting up base-files (11.1+deb11u11) ... #5 3.448 Installing new version of config file /etc/debian_version ... (Reading database ... 7023 files and directories currently installed.) #5 3.479 Preparing to unpack .../bsdutils_1%3a2.36.1-8+deb11u2_arm64.deb ... #5 3.481 Unpacking bsdutils (1:2.36.1-8+deb11u2) over (1:2.36.1-8+deb11u1) ... #5 3.505 Setting up bsdutils (1:2.36.1-8+deb11u2) ... (Reading database ... 7023 files and directories currently installed.) #5 3.522 Preparing to unpack .../tar_1.34+dfsg-1+deb11u1_arm64.deb ... #5 3.525 Unpacking tar (1.34+dfsg-1+deb11u1) over (1.34+dfsg-1) ... #5 3.585 Setting up tar (1.34+dfsg-1+deb11u1) ... #5 3.589 update-alternatives: warning: forcing reinstallation of alternative /usr/sbin/rmt-tar because link group rmt is broken #5 3.589 update-alternatives: warning: skip creation of /usr/share/man/man8/rmt.8.gz because associated file /usr/share/man/man8/rmt-tar.8.gz (of link group rmt) doesn't exist (Reading database ... 7023 files and directories currently installed.) #5 3.605 Preparing to unpack .../dpkg_1.20.13_arm64.deb ... #5 3.607 Unpacking dpkg (1.20.13) over (1.20.12) ... #5 3.719 Setting up dpkg (1.20.13) ... (Reading database ... 7023 files and directories currently installed.) #5 3.742 Preparing to unpack .../grep_3.6-1+deb11u1_arm64.deb ... #5 3.744 Unpacking grep (3.6-1+deb11u1) over (3.6-1) ... #5 3.774 Setting up grep (3.6-1+deb11u1) ... (Reading database ... 7023 files and directories currently installed.) #5 3.790 Preparing to unpack .../ncurses-bin_6.2+20201114-2+deb11u2_arm64.deb ... #5 3.793 Unpacking ncurses-bin (6.2+20201114-2+deb11u2) over (6.2+20201114-2) ... #5 3.818 Setting up ncurses-bin (6.2+20201114-2+deb11u2) ... (Reading database ... 7023 files and directories currently installed.) #5 3.836 Preparing to unpack .../perl-base_5.32.1-4+deb11u4_arm64.deb ... #5 3.848 Unpacking perl-base (5.32.1-4+deb11u4) over (5.32.1-4+deb11u2) ... #5 4.323 Setting up perl-base (5.32.1-4+deb11u4) ... (Reading database ... 7024 files and directories currently installed.) #5 4.348 Preparing to unpack .../util-linux_2.36.1-8+deb11u2_arm64.deb ... #5 4.352 Unpacking util-linux (2.36.1-8+deb11u2) over (2.36.1-8+deb11u1) ... #5 4.510 Setting up util-linux (2.36.1-8+deb11u2) ... #5 4.520 update-alternatives: warning: forcing reinstallation of alternative /bin/more because link group pager is broken #5 4.520 update-alternatives: warning: skip creation of /usr/share/man/man1/pager.1.gz because associated file /usr/share/man/man1/more.1.gz (of link group pager) doesn't exist (Reading database ... 7024 files and directories currently installed.) #5 4.603 Preparing to unpack .../libc6_2.31-13+deb11u11_arm64.deb ... #5 4.644 debconf: unable to initialize frontend: Dialog #5 4.644 debconf: (TERM is not set, so the dialog frontend is not usable.) #5 4.644 debconf: falling back to frontend: Readline #5 4.644 debconf: unable to initialize frontend: Readline #5 4.644 debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/aarch64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/aarch64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/aarch64-linux-gnu/perl-base /usr/lib/aarch64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) #5 4.644 debconf: falling back to frontend: Teletype #5 4.684 debconf: unable to initialize frontend: Dialog #5 4.684 debconf: (TERM is not set, so the dialog frontend is not usable.) #5 4.684 debconf: falling back to frontend: Readline #5 4.684 debconf: unable to initialize frontend: Readline #5 4.684 debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/aarch64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/aarch64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/aarch64-linux-gnu/perl-base /usr/lib/aarch64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) #5 4.684 debconf: falling back to frontend: Teletype #5 4.714 Unpacking libc6:arm64 (2.31-13+deb11u11) over (2.31-13+deb11u5) ... #5 5.032 Setting up libc6:arm64 (2.31-13+deb11u11) ... #5 5.071 debconf: unable to initialize frontend: Dialog #5 5.071 debconf: (TERM is not set, so the dialog frontend is not usable.) #5 5.071 debconf: falling back to frontend: Readline #5 5.071 debconf: unable to initialize frontend: Readline #5 5.071 debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/aarch64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/aarch64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/aarch64-linux-gnu/perl-base /usr/lib/aarch64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) #5 5.071 debconf: falling back to frontend: Teletype (Reading database ... 7024 files and directories currently installed.) #5 6.145 Preparing to unpack .../libc-bin_2.31-13+deb11u11_arm64.deb ... #5 6.150 Unpacking libc-bin (2.31-13+deb11u11) over (2.31-13+deb11u5) ... #5 6.245 Setting up libc-bin (2.31-13+deb11u11) ... (Reading database ... 7024 files and directories currently installed.) #5 6.278 Preparing to unpack .../ncurses-base_6.2+20201114-2+deb11u2_all.deb ... #5 6.280 Unpacking ncurses-base (6.2+20201114-2+deb11u2) over (6.2+20201114-2) ... #5 6.323 Setting up ncurses-base (6.2+20201114-2+deb11u2) ... (Reading database ... 7024 files and directories currently installed.) #5 6.341 Preparing to unpack .../libsystemd0_247.3-7+deb11u6_arm64.deb ... #5 6.344 Unpacking libsystemd0:arm64 (247.3-7+deb11u6) over (247.3-7+deb11u1) ... #5 6.377 Setting up libsystemd0:arm64 (247.3-7+deb11u6) ... (Reading database ... 7024 files and directories currently installed.) #5 6.393 Preparing to unpack .../logsave_1.46.2-2+deb11u1_arm64.deb ... #5 6.396 Unpacking logsave (1.46.2-2+deb11u1) over (1.46.2-2) ... #5 6.415 Preparing to unpack .../libext2fs2_1.46.2-2+deb11u1_arm64.deb ... #5 6.418 Unpacking libext2fs2:arm64 (1.46.2-2+deb11u1) over (1.46.2-2) ... #5 6.447 Setting up libext2fs2:arm64 (1.46.2-2+deb11u1) ... (Reading database ... 7024 files and directories currently installed.) #5 6.467 Preparing to unpack .../e2fsprogs_1.46.2-2+deb11u1_arm64.deb ... #5 6.471 Unpacking e2fsprogs (1.46.2-2+deb11u1) over (1.46.2-2) ... #5 6.524 Preparing to unpack .../mount_2.36.1-8+deb11u2_arm64.deb ... #5 6.526 Unpacking mount (2.36.1-8+deb11u2) over (2.36.1-8+deb11u1) ... #5 6.552 Preparing to unpack .../adduser_3.118+deb11u1_all.deb ... #5 6.555 Unpacking adduser (3.118+deb11u1) over (3.118) ... #5 6.587 Setting up adduser (3.118+deb11u1) ... #5 6.625 debconf: unable to initialize frontend: Dialog #5 6.625 debconf: (TERM is not set, so the dialog frontend is not usable.) #5 6.625 debconf: falling back to frontend: Readline #5 6.625 debconf: unable to initialize frontend: Readline #5 6.625 debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/aarch64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/aarch64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/aarch64-linux-gnu/perl-base /usr/lib/aarch64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) #5 6.625 debconf: falling back to frontend: Teletype (Reading database ... 7024 files and directories currently installed.) #5 6.665 Preparing to unpack .../debian-archive-keyring_2021.1.1+deb11u1_all.deb ... #5 6.762 Unpacking debian-archive-keyring (2021.1.1+deb11u1) over (2021.1.1) ... #5 6.817 Setting up debian-archive-keyring (2021.1.1+deb11u1) ... #5 6.870 Removing obsolete conffile /etc/apt/trusted.gpg.d/debian-archive-stretch-automatic.gpg ... #5 6.875 Removing obsolete conffile /etc/apt/trusted.gpg.d/debian-archive-stretch-security-automatic.gpg ... #5 6.881 Removing obsolete conffile /etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg ... (Reading database ... 7024 files and directories currently installed.) #5 6.904 Preparing to unpack .../libblkid1_2.36.1-8+deb11u2_arm64.deb ... #5 6.907 Unpacking libblkid1:arm64 (2.36.1-8+deb11u2) over (2.36.1-8+deb11u1) ... #5 6.934 Setting up libblkid1:arm64 (2.36.1-8+deb11u2) ... (Reading database ... 7024 files and directories currently installed.) #5 6.954 Preparing to unpack .../libcom-err2_1.46.2-2+deb11u1_arm64.deb ... #5 6.957 Unpacking libcom-err2:arm64 (1.46.2-2+deb11u1) over (1.46.2-2) ... #5 6.978 Setting up libcom-err2:arm64 (1.46.2-2+deb11u1) ... (Reading database ... 7024 files and directories currently installed.) #5 6.999 Preparing to unpack .../libgnutls30_3.7.1-5+deb11u6_arm64.deb ... #5 7.002 Unpacking libgnutls30:arm64 (3.7.1-5+deb11u6) over (3.7.1-5+deb11u3) ... #5 7.080 Setting up libgnutls30:arm64 (3.7.1-5+deb11u6) ... (Reading database ... 7024 files and directories currently installed.) #5 7.099 Preparing to unpack .../libk5crypto3_1.18.3-6+deb11u5_arm64.deb ... #5 7.101 Unpacking libk5crypto3:arm64 (1.18.3-6+deb11u5) over (1.18.3-6+deb11u3) ... #5 7.122 Setting up libk5crypto3:arm64 (1.18.3-6+deb11u5) ... (Reading database ... 7024 files and directories currently installed.) #5 7.139 Preparing to unpack .../libkrb5support0_1.18.3-6+deb11u5_arm64.deb ... #5 7.142 Unpacking libkrb5support0:arm64 (1.18.3-6+deb11u5) over (1.18.3-6+deb11u3) ... #5 7.159 Setting up libkrb5support0:arm64 (1.18.3-6+deb11u5) ... (Reading database ... 7024 files and directories currently installed.) #5 7.177 Preparing to unpack .../libkrb5-3_1.18.3-6+deb11u5_arm64.deb ... #5 7.180 Unpacking libkrb5-3:arm64 (1.18.3-6+deb11u5) over (1.18.3-6+deb11u3) ... #5 7.215 Setting up libkrb5-3:arm64 (1.18.3-6+deb11u5) ... (Reading database ... 7024 files and directories currently installed.) #5 7.233 Preparing to unpack .../libgssapi-krb5-2_1.18.3-6+deb11u5_arm64.deb ... #5 7.235 Unpacking libgssapi-krb5-2:arm64 (1.18.3-6+deb11u5) over (1.18.3-6+deb11u3) ... #5 7.259 Setting up libgssapi-krb5-2:arm64 (1.18.3-6+deb11u5) ... (Reading database ... 7024 files and directories currently installed.) #5 7.282 Preparing to unpack .../libssl1.1_1.1.1w-0+deb11u2_arm64.deb ... #5 7.284 Unpacking libssl1.1:arm64 (1.1.1w-0+deb11u2) over (1.1.1n-0+deb11u4) ... #5 7.371 Setting up libssl1.1:arm64 (1.1.1w-0+deb11u2) ... #5 7.407 debconf: unable to initialize frontend: Dialog #5 7.407 debconf: (TERM is not set, so the dialog frontend is not usable.) #5 7.407 debconf: falling back to frontend: Readline #5 7.407 debconf: unable to initialize frontend: Readline #5 7.407 debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/aarch64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/aarch64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/aarch64-linux-gnu/perl-base /usr/lib/aarch64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) #5 7.407 debconf: falling back to frontend: Teletype (Reading database ... 7024 files and directories currently installed.) #5 7.441 Preparing to unpack .../libmount1_2.36.1-8+deb11u2_arm64.deb ... #5 7.443 Unpacking libmount1:arm64 (2.36.1-8+deb11u2) over (2.36.1-8+deb11u1) ... #5 7.468 Setting up libmount1:arm64 (2.36.1-8+deb11u2) ... (Reading database ... 7024 files and directories currently installed.) #5 7.497 Preparing to unpack .../libsepol1_3.1-1+deb11u1_arm64.deb ... #5 7.499 Unpacking libsepol1:arm64 (3.1-1+deb11u1) over (3.1-1) ... #5 7.529 Setting up libsepol1:arm64 (3.1-1+deb11u1) ... (Reading database ... 7024 files and directories currently installed.) #5 7.546 Preparing to unpack .../libsmartcols1_2.36.1-8+deb11u2_arm64.deb ... #5 7.548 Unpacking libsmartcols1:arm64 (2.36.1-8+deb11u2) over (2.36.1-8+deb11u1) ... #5 7.570 Setting up libsmartcols1:arm64 (2.36.1-8+deb11u2) ... (Reading database ... 7024 files and directories currently installed.) #5 7.589 Preparing to unpack .../libncursesw6_6.2+20201114-2+deb11u2_arm64.deb ... #5 7.591 Unpacking libncursesw6:arm64 (6.2+20201114-2+deb11u2) over (6.2+20201114-2) ... #5 7.615 Preparing to unpack .../libtinfo6_6.2+20201114-2+deb11u2_arm64.deb ... #5 7.617 Unpacking libtinfo6:arm64 (6.2+20201114-2+deb11u2) over (6.2+20201114-2) ... #5 7.642 Setting up libtinfo6:arm64 (6.2+20201114-2+deb11u2) ... (Reading database ... 7024 files and directories currently installed.) #5 7.662 Preparing to unpack .../libudev1_247.3-7+deb11u6_arm64.deb ... #5 7.666 Unpacking libudev1:arm64 (247.3-7+deb11u6) over (247.3-7+deb11u1) ... #5 7.690 Setting up libudev1:arm64 (247.3-7+deb11u6) ... (Reading database ... 7024 files and directories currently installed.) #5 7.708 Preparing to unpack .../libuuid1_2.36.1-8+deb11u2_arm64.deb ... #5 7.713 Unpacking libuuid1:arm64 (2.36.1-8+deb11u2) over (2.36.1-8+deb11u1) ... #5 7.735 Setting up libuuid1:arm64 (2.36.1-8+deb11u2) ... (Reading database ... 7024 files and directories currently installed.) #5 7.762 Preparing to unpack .../tzdata_2024b-0+deb11u1_all.deb ... #5 7.766 Unpacking tzdata (2024b-0+deb11u1) over (2021a-1+deb11u8) ... #5 8.762 Preparing to unpack .../libexpat1_2.2.10-2+deb11u6_arm64.deb ... #5 8.767 Unpacking libexpat1:arm64 (2.2.10-2+deb11u6) over (2.2.10-2+deb11u5) ... #5 8.797 Preparing to unpack .../libsqlite3-0_3.34.1-3+deb11u1_arm64.deb ... #5 8.800 Unpacking libsqlite3-0:arm64 (3.34.1-3+deb11u1) over (3.34.1-3) ... #5 8.864 Preparing to unpack .../libss2_1.46.2-2+deb11u1_arm64.deb ... #5 8.869 Unpacking libss2:arm64 (1.46.2-2+deb11u1) over (1.46.2-2) ... #5 8.899 Preparing to unpack .../openssl_1.1.1w-0+deb11u2_arm64.deb ... #5 8.905 Unpacking openssl (1.1.1w-0+deb11u2) over (1.1.1n-0+deb11u4) ... #5 8.990 Setting up libexpat1:arm64 (2.2.10-2+deb11u6) ... #5 8.996 Setting up libsqlite3-0:arm64 (3.34.1-3+deb11u1) ... #5 9.000 Setting up tzdata (2024b-0+deb11u1) ... #5 9.047 debconf: unable to initialize frontend: Dialog #5 9.047 debconf: (TERM is not set, so the dialog frontend is not usable.) #5 9.047 debconf: falling back to frontend: Readline #5 9.047 debconf: unable to initialize frontend: Readline #5 9.047 debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/aarch64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/aarch64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/aarch64-linux-gnu/perl-base /usr/lib/aarch64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) #5 9.047 debconf: falling back to frontend: Teletype #5 9.082 #5 9.082 Current default time zone: 'Etc/UTC' #5 9.085 Local time is now: Thu Feb 20 02:12:10 UTC 2025. #5 9.085 Universal Time is now: Thu Feb 20 02:12:10 UTC 2025. #5 9.085 Run 'dpkg-reconfigure tzdata' if you wish to change it. #5 9.085 #5 9.098 Setting up libss2:arm64 (1.46.2-2+deb11u1) ... #5 9.104 Setting up libncursesw6:arm64 (6.2+20201114-2+deb11u2) ... #5 9.108 Setting up logsave (1.46.2-2+deb11u1) ... #5 9.112 Setting up mount (2.36.1-8+deb11u2) ... #5 9.115 Setting up openssl (1.1.1w-0+deb11u2) ... #5 9.123 Setting up e2fsprogs (1.46.2-2+deb11u1) ... #5 9.262 Processing triggers for libc-bin (2.31-13+deb11u11) ... #5 9.368 Reading package lists... #5 9.672 Building dependency tree... #5 9.764 Reading state information... #5 9.819 E: Version '13.18-0+deb11u1' for 'libpq-dev' was not found ------ executor failed running [/bin/sh -c apt-get update && apt-get dist-upgrade -y && apt-get install -y --no-install-recommends build-essential=12.9 ca-certificates=20210119 git=1:2.30.2-1+deb11u2 libpq-dev=13.18-0+deb11u1 make=4.3-4.1 openssh-client=1:8.4p1-5+deb11u3 software-properties-common=0.96.20.2-2.1 && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*]: exit code: 100 Changing line 11 in the Dockerfile to:
as suggested in the original report does get past this error - but the build still fails, fwiw:
but this looks like a separate issue (ie perhaps the Dockerfile hasn't been updated yet to reflect the move to https://github.com/dbt-labs/dbt-adapters?) |
Just adding a note: together with the change to line 11, changing line 48 to read:
got the build to complete successfully. |
Is this a new bug in dbt-core?
Current Behavior
The docker file uses libpq-dev version 13.18-0+deb11u1 which contains the CVE-2025-1094 vulnerability, this was fixed in libpq-dev 13.19-0+deb11u1
Expected Behavior
N/A
Steps To Reproduce
N/A
Relevant log output
Environment
Which database adapter are you using with dbt?
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: