CVE-2024-34062
tqdm CLI arguments injection attack
Reported by github_m · Published May 3, 2024
tqdm is fixed in 4.66.3 (PyPI)
tqdm is an open source progress bar for Python and CLI. Any optional non-boolean CLI arguments (e.g. `--delim`, `--buf-size`, `--manpath`) are passed through python's `eval`, allowing arbitrary code execution. This issue is only locally exploitable and had been addressed in release version 4.66.3. All users are advised to upgrade. There are no known workarounds for this vulnerability.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| tqdm | PyPI | 4.66.3 |
| checkov | Chainguard | 3.0.34-r1 |
| kubeflow-katib | Chainguard | 0.16.0-r9 |
| kubeflow-katib | Wolfi | 0.16.0-r9 |
| py3-tqdm | Alpine | 4.66.4-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| tqdm | tqdm | >= 4.4.0, < 4.66.3 |
| chainguard | checkov | 0 |
| chainguard | kubeflow-katib | 0 |
| wolfi | kubeflow-katib | 0 |
| alpine | py3-tqdm | 0 |
| tqdm | tqdm | 4.4.0 |
| wolfi | py3-tqdm | 0 |
| amazon:2023 | python3-tqdm | 0 |
| PyPI | tqdm | 4.4.0 |
| chainguard | nemo | 0 |
| chainguard | py3-tqdm | 0 |
| wolfi | checkov | 0 |
Timeline
- May 3, 2024 CVE Published
- May 4, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (5 in total, the first dated here)
- Jan 11, 2026 Security Advisory (3 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-34062
vulnetix vdb fixes CVE-2024-34062
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-34062/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/tqdm/tqdm/security/advisories/GHSA-g7vv-2v7x-gj9p x_refsource_CONFIRM
- https://github.com/tqdm/tqdm/commit/4e613f84ed2ae029559f539464df83fa91feb316 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2024-34062 advisory
- https://github.com/advisories/GHSA-g7vv-2v7x-gj9p advisory
- https://github.com/tqdm/tqdm url