Arbitrary Code Execution Affecting powerline-gitstatus package, versions [,1.3.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.48% (43rd 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 Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-POWERLINEGITSTATUS-3043098
  • published13 Oct 2022
  • disclosed13 Oct 2022
  • creditUnknown

Introduced: 13 Oct 2022

CVE-2022-42906  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade powerline-gitstatus to version 1.3.3 or higher.

Overview

powerline-gitstatus is an A Powerline segment for showing the status of a Git working copy

Affected versions of this package are vulnerable to Arbitrary Code Execution given that an attacker can convince a user to change their current directory to one controlled by the attacker, such as in a shared filesystem or extracted archive.

CVSS Base Scores

version 3.1