DHI-tbic-2g4j-jwwe-rsy7
### Summary
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-19
- Age
- 14d old
- Modified
- 2026-12-04
- Product
- Docker Hardened Images:Debian:13 azure-cli
Description
### Summary On Windows, attacker-controlled content in a wheel's `.dist-info/namespace_packages.txt` can cause setuptools' legacy wheel installation path to create an `__init__.py` outside the requested `destination_eggdir`. The attacker can influence the destination path, but not the contents of the created file. ### Details Tested setuptools commit: `6ead555c5fb29bc57fe6105b1bffc163f56fd558` Relevant source: `setuptools/wheel.py` SHA-256: `359b7e0d5dd8c3135653abe08a8ed5dc0352eadfd7df22cb5e2b5303b7c3cafd` The relevant call path is: `Wheel(wheel_path).install_as_egg(destination)` → `_install_as_egg` → `_convert_metadata` → `_fix_namespace_packages` A wheel can provide attacker-controlled content in: `<distribution>.dist-info/namespace_packages.txt` The namespace value is eventually used approximately as: ```python mod_dir = os.path.join(destination_eggdir, *mod.split('.')) mod_init = os.path.join(mod_dir, '__init__.py') If mod is a Windows drive-qualified absolute path containing no dots, mod.split('.') preserves it as a single component. On Windows, os.path.join(destination_eggdir, absolute_component) discards the original base directory and resolves to the attacker-supplied absol
Fixed in
3.3.0-0 · 84.2.0-0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Docker Hardened Images:Debian:13 | airflow | >=0, <3.3.0-0 | 3.3.0-0 |
| Docker Hardened Images:Debian:13 | python3-setuptools | >=0, <84.2.0-0 | 84.2.0-0 |
Sources
- OSV · first seen 13d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-tbic-2g4j-jwwe-rsy7 advisory
- https://github.com/advisories/GHSA-xmj3-9gf7-h52w advisory
- https://github.com/pypa/setuptools/security/advisories/GHSA-xmj3-9gf7-h52w advisory
- https://github.com/pypa/setuptools/pull/5329 fix
- https://github.com/pypa/setuptools/commit/6d07b8d17890dda58d944ac51e58f54af92d52af fix
- https://github.com/pypa/setuptools/releases/tag/v84.1.0 web