216.73.217.22

Bootstrap script exposes PyPI to domain takeover attacks

· Published 03/12/2025 20:19 · Modified 21/12/2025 18:24

Export JSON

Essential information

Published
03/12/2025 20:19
Modified
21/12/2025 18:24
Tags
2025-12-03 bootstrap script domain takeover open-source pypi python packaging supply-chain vulnerability
Related entities
1 vulnerabilities (cve), 2 observables, 7 techniques (mitre), 1 others

Description

A in legacy Python packages could enable an attack on through a domain compromise. The issue stems from bootstrap files for a build tool that installs the 'distribute' package, which fetch and execute an installation script from a now-available domain. Affected packages include tornado, pypiserver, and others. The arises from the complex history of tools and the use of hardcoded domains in bootstrap scripts. While the 'distribute' package is largely obsolete, many packages still include bootstrap scripts that attempt to install it, potentially executing malicious code from the abandoned domain. This highlights the risks of relying on hardcoded domains and the importance of properly decommissioning outdated modules in communities.

External references