CVEfocus › CVE database › CVE-2024-34062

CVE-2024-34062tqdm CLI arguments injection attack

CVSS 4.8 MediumEPSS 0.5% (higher than 36% of CVEs)Published 2024-05-03Updated 2025-02-13Assigner: GitHub_M

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.

CWE-74

What to do

Fixed builds are available from Alpine, Debian, PyPI: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

8Fixed
3Fix pending
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04tqdmNot affected
vulnerable_code_not_present
Ubuntu 25.10tqdmNot affected
vulnerable_code_not_present
Ubuntu 24.04tqdmFix pending4.66.2-2ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2024-34062
Ubuntu 22.04tqdmFix pending4.57.0-2ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2024-34062
Ubuntu 20.04tqdmNot affected
vulnerable_code_not_present
Debian 14tqdmFixed4.66.4-1DEBIAN-CVE-2024-34062
Debian 13tqdmFixed4.66.4-1DEBIAN-CVE-2024-34062
Debian 12tqdmFix pendingDEBIAN-CVE-2024-34062
Red Hat Enterprise Linux 9rust-srpm-macrosNot affected
Red Hat Enterprise Linux 8rust-srpm-macrosNot affected
Alpine Linux 3.24py3-tqdmFixed4.66.4-r0ALPINE-CVE-2024-34062
Alpine Linux 3.23py3-tqdmFixed4.66.4-r0ALPINE-CVE-2024-34062
Alpine Linux 3.22py3-tqdmFixed4.66.4-r0ALPINE-CVE-2024-34062
Alpine Linux 3.21py3-tqdmFixed4.66.4-r0ALPINE-CVE-2024-34062
Alpine Linux 3.20py3-tqdmFixed4.66.4-r0ALPINE-CVE-2024-34062
PyPI librarytqdmFixed4.66.3PYSEC-2026-1976

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.