🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2968

Bug#1152852: pipenv ships pip version with compromised CA certificates

#2968
From: Maximilian Stein
Date: Mon, 02 Nov 2026 10:20
67 lines
5735 bytes
Package: pipenv
Version: 2024.0.1+ds-3
Severity: important
Tags: security
X-Debbugs-Cc: Debian Security Team <team@security.debian.org>

Dear Maintainer,

I noticed that pipenv is indirectly affected by the eMudhra CA compromise.

In an empty directory I created a fresh Pipenv by installing a random package:

$ pipenv install pyyaml
$ pipenv --venv
/home/steiny/.local/share/virtualenvs/tmp-3dZbUrH8

This now creates a new pipenv and seeds it with a vulnerable pip version:

$ pipenv run pip3 --version
pip 25.1.1 from /home/steiny/.local/share/virtualenvs/tmp-3dZbUrH8/lib/python3.13/site-packages/pip
(python 3.13)

The compromised certificates are located in the file:

/home/steiny/.local/share/virtualenvs/tmp-3dZbUrH8/lib/python3.13/site-packages/pip/_vendor/certifi/cacert.pem

Namely, certificates with these sha256 fingerprints are still included:

D7A7A0FB5D7E2731D771E9484EBCDEF71D5F0C3E0A2948782BC83EE0EA699EF4
86A1ECBA089C4A8D3BBE2734C612BA341D813E043CF9E8A862CD5C57A36BBE6B

I can work around that issue by explicitly installing a newer pip version,
e.g.,

$ pipenv install pip
$ pipenv run pip3 --version
pip 26.2.2 from /home/steiny/.local/share/virtualenvs/tmp-3dZbUrH8/lib/python3.13/site-packages/pip
(python 3.13)

So, the version of pip seeded into a fresh Pipenv should be updated.

Best,
Maximilian

-- System Information:
Debian Release: 13.7
  APT prefers stable-security
  APT policy: (990, 'stable-security'), (990, 'stable'), (100, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.113+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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 pipenv depends on:
ii  python3                3.13.5-1
ii  python3-certifi        2025.1.31+ds-1
ii  python3-pkg-resources  78.1.1-0.1
ii  python3-virtualenv     20.31.2+ds-1+deb13u1

pipenv recommends no packages.

pipenv suggests no packages.

-- no debconf information
Technical Details
Message-ID: <NUXiV-9o1s-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Maximilian Stein <m@steiny.biz>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152852: pipenv ships pip version with compromised CA certificates
Date: Mon, 02 Nov 2026 11:20:01 +0100
Message-ID: <NUXiV-9o1s-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Nov  2 10:12:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Maximilian Stein <m@steiny.biz>, 1152852@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team@security.debian.org, team+python@tracker.debian.org
X-Debian-Pr-Message: report 1152852
X-Debian-Pr-Package: pipenv
X-Debian-Pr-Keywords: security
X-Debian-Pr-Source: pipenv
X-Securemailgate-Identity: web360p8;host249.alfahosting-server.de
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0
X-Ppp-Message-ID: 
 <179361106724.3574020.5142425933819538778@host249.alfahosting-server.de>
X-Ppp-Vhost: steiny.biz
X-Originating-IP: 81.88.34.227
X-Securemailgate-Domain: host249.alfahosting-server.de
X-Securemailgate-Username: 81.88.34.227
Authentication-Results: secure-mailgate.com; auth=pass smtp.auth=81.88.34.227@host249.alfahosting-server.de
X-Securemailgate-Outgoing-Class: ham
X-Securemailgate-Outgoing-Evidence: SB/global_tokens (0.00511911348745)
X-Recommended-Action: accept
X-Filter-ID: 9kzQTOBWQUFZTohSKvQbgI7ZDo5ubYELi59AwcWUnuXJRGqYyLZC+1IgtDSh5EbktdUgb8l/Jf/3
 kwZ/K01A9iu2SmbhJN1U9FKs8X3+Nt26phFs66m3zZZ8Vxvcqj2kwTmH+X7PW+A2r4KgGG2ZWbt4
 j/5v6kLlU+4+gK0ra74h55uqY3MhMgFAHq5BxPxPNcvLSNRg3ukOUy/AFYF1HaCCaZnYVxRbZ4Ov
 ux9CmU9gLuDgnxemceE3qN/f77xLK571Ms6E3wBhGy+SN+eBAPAZcJMXyXxXG5oZWE62IcGXPONn
 cB0pX5CyU7RgOaV210JiByCvzfnJWMpBkDqEkgO+ILdrN8Wu8lCeyfoB8x8O2xwpEHI25nAgTRWC
 GP0QLKPFRdvGVz6FathkOrvSVdQGtxAJEXKNeGZQyJQlGXrbhkbij69AW/2LjxMfMQqfCwuTUZmK
 m/dNoQIrf76P6vFEMtm4HJ6HTUrfknHwJcT+lugOMWzpkAW6w1J1NAn5XC2gdpUtfSW+lT9trgFe
 hNezYqxGMqsKjARq8PBC4qis9NySdb5uE0EPX67hcX1TOgXVzBtkRwm2F5tMl6E+vQ2QEetkvH00
 /xmn6oF5z8v12WQj9GUJOn7Dies1IWZlXBHa0hrwl3HJK0w61OpWc+d4ZVhoWZn/fU8/4KE/NEdW
 B88I6WDrrXEtVgSlHzAZDthrqcpXT6bldYlQNxgxMGxZWuSQj42Y8BYzRz0CWQqMHTK5aY7wXqhY
 /0nWv1SLNq3TOWXbz8yWvHvpOayE903/bVGjYX+mQfzJT2te9vG/42K8c9HVxTLdCEcoT7BzowKp
 t9wJA6dqrvVWJCnwMiLWuPMpWwBFjv59Y5kVx2ElE4NMp47jhyqwV7jHbHu2u4opr1N+K9dNLoME
 KBGVe2W+KF0ecr+A7lxVmYAKwsDHMcoHHJAkmkp2tBP4odN7ZuM7jUXIESohoO51xWmU8UInPzsI
 0d61D/8PTS2ESupWL4nRD00/BJgxCYv5vRT8W/fVqOlbM5eBgEnQeISqcb/jYrxz0dXFMt0IRyhP
 sHOlku8Uhlqduq0+co91CzFhdAfzCPiyq0ffrzYXK9wnvk49L580IwHza2T+59S3hngfs1D52cLC
 oJ3krafI5Y5SIwwQV0Qs3mR8b217fGAlSkozLJv0XDZs3WWmdunjCsIbN3y/faPHiCdRpFK+JLaZ
X-Report-Abuse-To: spam@node04.secure-mailgate.com
X-Greylist: delayed 3163 seconds by postgrey-1.37 at buxtehude; Mon, 02 Nov 2026 10:10:40 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000211
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 67
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 02 Nov 2026 10:16:55 +0100
X-Original-Message-ID: <179361101514.34918.8521789830468431501.reportbug@pia>
X-Original-X-Complaints-To: abuse@node01.secure-mailgate.com