Arbitrary Code Execution Affecting pytest-git package, versions [,1.1.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PYTESTGIT-42031
  • published7 Nov 2017
  • disclosed16 Feb 2016
  • creditUnknown

Introduced: 16 Feb 2016

CVE NOT AVAILABLE CWE-95  (opens in a new tab)

Overview

pytest-git is session-scoped by default and run in a subprocess and temp dir to cleanup when it's done.

Affected versions of this package are vulnerable to Arbitrary Code Execution attacks. It would run subprocess with shell=True, allowing an attacker to insert shell commands in the function.

References

CVSS Scores

version 3.1