VDB

CVE-2024-34062

CVE-2024-34062 PUBLISHED CVSS 4.8 MEDIUM

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.

PackageEcosystemFixed in
tqdmPyPI4.66.3
checkovChainguard3.0.34-r1
kubeflow-katibChainguard0.16.0-r9
kubeflow-katibWolfi0.16.0-r9
py3-tqdmAlpine4.66.4-r0

Risk scores

CVSS 3.1
4.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
tqdmtqdm>= 4.4.0, < 4.66.3
chainguardcheckov0
chainguardkubeflow-katib0
wolfikubeflow-katib0
alpinepy3-tqdm0
tqdmtqdm4.4.0
wolfipy3-tqdm0
amazon:2023python3-tqdm0
PyPItqdm4.4.0
chainguardnemo0
chainguardpy3-tqdm0
wolficheckov0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›