Description
Poetry is a dependency manager for Python. Prior to 2.3.4, the extractall() function in src/poetry/utils/helpers.py:410-426 extracts sdist tarballs without path traversal protection on Python versions where tarfile.data_filter is unavailable. Considering only Python versions which are still supported by Poetry, these are 3.10.0 - 3.10.12 and 3.11.0 - 3.11.4. This vulnerability is fixed in 2.3.4.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| python-poetry | poetry | < 2.3.4 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | poetry | 2.1.2+dfsg-1 | — |
| Debian 13 | poetry | 2.1.2+dfsg-1 | — |
| Debian 12 | poetry | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | poetry | No fix yet | — |
| Ubuntu 26.04 LTS | poetry | No fix yet | — |
| Ubuntu 25.10 | poetry | No fix yet | — |
| Ubuntu 24.04 LTS | poetry | No fix yet | — |
| Ubuntu 22.04 LTS | poetry | No fix yet | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | poetry | 1.8.5-2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | poetry | < 2.3.4 | 2.3.4 | GHSA-73h3-mf4w-8647 |