Arbitrary Code Execution Affecting tqdm package, versions [,4.11.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PYTHON-TQDM-40369
  • published 25 Dec 2016
  • disclosed 25 Dec 2016
  • credit Jakub Wilk

Overview

tqdm is a Fast, Extensible Progress Meter.

Affected versions of this package are vulnerable to Arbitrary Code Execution due to using git insecurely. When importing tqdm, the tqdm._version module will run git log -n 1 --oneline in order to check if the user is running a pre-released version. An attacker can craft a repository with a malicious git log in the current working directory.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7.8 high
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High