Article View: linux.debian.bugs.dist
Article #4732Bug#1154168: awscli: may use embeded certificate bundle containing revoked CA certs
From: Noah Meyerhans
Date: Mon, 16 Nov 2026 14:30
Date: Mon, 16 Nov 2026 14:30
85 lines
5396 bytes
5396 bytes
Package: awscli
Version: 2.23.6-1
Severity: important
Tags: security upstream
awscli includes a bundled certificate store:
root@ec162dd99925:~# dpkg -L awscli | grep pem
/usr/lib/python3/dist-packages/awscli/botocore/cacert.pem
If both of ca-certificates and python3-certifi are not installed, it will
use this bundled certificate store to authenticate TLS endpoints:
root@ec162dd99925:~# dpkg -s ca-certificates
dpkg-query: package 'ca-certificates' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
root@ec162dd99925:~# dpkg -s python3-certifi
dpkg-query: package 'python3-certifi' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
root@ec162dd99925:~# aws sts get-caller-identity
{
"UserId": "AROAW32WRALYCRFWKOVCL:botocore-session-1794836848",
"Account": "<<redacted>>",
"Arn": "arn:aws:sts::<<redacted>>:assumed-role/<<redacted>>/botocore-session-1794836848"
}
root@ec162dd99925:~# mv /usr/lib/python3/dist-packages/awscli/botocore/cacert.pem /root/
root@ec162dd99925:~# aws sts get-caller-identity
SSL validation failed for https://sts.us-west-2.amazonaws.com/ [Errno 2] No such file or directory
If both of python3-certifi and ca-certificates are installed, the system-wide
certificates will be used:
root@ec162dd99925:~# rm -f /usr/lib/python3/dist-packages/awscli/botocore/cacert.pem && dpkg -l python3-certifi ca-certificates && ls -l /usr/lib/python3/dist-packages/awscli/botocore/cacert.pem ; aws sts get-caller-identity
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===============-================-============-============================================================================
ii ca-certificates 20250419+deb13u1 all Common CA certificates
ii python3-certifi 2025.1.31+ds-1 all root certificates for validating SSL certs and verifying TLS hosts (python3)
ls: cannot access '/usr/lib/python3/dist-packages/awscli/botocore/cacert.pem': No such file or directory
{
"UserId": "AROAW32WRALYCRFWKOVCL:botocore-session-1794836848",
"Account": "<<redacted>>",
"Arn": "arn:aws:sts::<<redacted>>:assumed-role/<<redacted>>/botocore-session-1794836848"
}
-- System Information:
Debian Release: 13.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.117+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages awscli depends on:
ii groff-base 1.23.0-9
ii python3 3.13.5-1
ii python3-awscrt 0.24.0+dfsg-1
ii python3-colorama 0.4.6-4
ii python3-cryptography 43.0.0-3+deb13u1
ii python3-dateutil 2.9.0-4
ii python3-distro 1.9.0-1
ii python3-docutils 0.21.2+dfsg-2
ii python3-jmespath 1.0.1-1
ii python3-prompt-toolkit 3.0.51-2
ii python3-pyasn1 0.6.1-1+deb13u3
ii python3-ruamel.yaml 0.18.10+ds-1
ii python3-ruamel.yaml.clib 0.2.12+ds-1+b1
ii python3-urllib3 2.3.0-3+deb13u2
ii python3-zipp 3.21.0-1
awscli recommends no packages.
awscli suggests no packages.
-- no debconf information
Technical Details
Message-ID:
<O05Sx-cgAa-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod From: Noah Meyerhans <noahm@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1154168: awscli: may use embeded certificate bundle containing revoked CA certs Date: Mon, 16 Nov 2026 15:30:01 +0100 Message-ID: <O05Sx-cgAa-3@gated-at.bofh.it> X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Nov 16 14:23:08 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Noah Meyerhans <noahm@debian.org>, 1154168@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-cloud@lists.debian.org X-Debian-Pr-Message: report 1154168 X-Debian-Pr-Package: awscli X-Debian-Pr-Keywords: security upstream X-Debian-Pr-Source: awscli Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: reportbug 13.2.0 X-Debian-User: noahm X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2002982 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 85 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 16 Nov 2026 09:21:45 -0500 X-Original-Message-ID: <179483890540.44513.2880705215170173830.reportbug@doom.morgul.net>