Arbitrary Code Execution Affecting poetry package, versions [,1.1.9)[1.2.0a1,1.2.0b1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.08% (37th 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-POETRY-3018917
  • published8 Sept 2022
  • disclosed8 Sept 2022
  • creditUnknown

Introduced: 8 Sep 2022

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

How to fix?

Upgrade poetry to version 1.1.9, 1.2.0b1 or higher.

Overview

poetry is a Python dependency management and packaging made easy.

Affected versions of this package are vulnerable to Arbitrary Code Execution via git related commands, when a user input starts with a dash (-) and is therefore treated as an optional argument instead of a positional one.

CVSS Scores

version 3.1