Icloudpd: tqdm CLI arguments injection attack (CVE-2024-34062)
A command injection vulnerability exists in the tqdm Python package used by icloudpd, where certain non-boolean CLI arguments are unsafely passed to Python's eval function, enabling arbitrary code execution. This affects icloudpd versions from 1.17.3 up to but not including 1.21.0. A fix has been released in tqdm version 4.66.3. No workarounds are available.
AI Analysis
Technical Summary
The vulnerability (CVE-2024-34062) in icloudpd arises from the tqdm package's handling of optional non-boolean CLI arguments such as --delim, --buf-size, and --manpath. These arguments are passed through Python's eval function without proper sanitization, allowing an attacker to execute arbitrary code. An example exploit demonstrates executing shell commands via the --manpath argument. The issue is addressed by a patch released in tqdm version 4.66.3.
Potential Impact
Successful exploitation allows an attacker with local access and limited privileges to execute arbitrary code via specially crafted CLI arguments. The CVSS score is 3.9 (low), indicating limited impact primarily due to required local access and user interaction.
Mitigation Recommendations
A patch is available in tqdm version 4.66.3 that fixes the unsafe use of eval for CLI arguments. Users of icloudpd versions >=1.17.3 and <1.21.0 should upgrade to a version that includes tqdm 4.66.3 or later. No workarounds are available.
Icloudpd: tqdm CLI arguments injection attack (CVE-2024-34062)
Description
A command injection vulnerability exists in the tqdm Python package used by icloudpd, where certain non-boolean CLI arguments are unsafely passed to Python's eval function, enabling arbitrary code execution. This affects icloudpd versions from 1.17.3 up to but not including 1.21.0. A fix has been released in tqdm version 4.66.3. No workarounds are available.
CVSS v3.1
Score 3.9low
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability (CVE-2024-34062) in icloudpd arises from the tqdm package's handling of optional non-boolean CLI arguments such as --delim, --buf-size, and --manpath. These arguments are passed through Python's eval function without proper sanitization, allowing an attacker to execute arbitrary code. An example exploit demonstrates executing shell commands via the --manpath argument. The issue is addressed by a patch released in tqdm version 4.66.3.
Potential Impact
Successful exploitation allows an attacker with local access and limited privileges to execute arbitrary code via specially crafted CLI arguments. The CVSS score is 3.9 (low), indicating limited impact primarily due to required local access and user interaction.
Mitigation Recommendations
A patch is available in tqdm version 4.66.3 that fixes the unsafe use of eval for CLI arguments. Users of icloudpd versions >=1.17.3 and <1.21.0 should upgrade to a version that includes tqdm 4.66.3 or later. No workarounds are available.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-icloudpd-CVE-2024-34062
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 3.1
Threat ID: 6aac8e0355bf5e2cf549038a
Added to database: 09/18/2026, 01:04:03 UTC
Last enriched: 09/18/2026, 01:57:48 UTC
Last updated: 09/18/2026, 02:10:02 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.