Arbitrary Code Execution Affecting poetry-core package, versions [,1.1.0a7)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.08% (36th 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-POETRYCORE-3018918
  • 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-core to version 1.1.0a7 or higher.

Overview

poetry-core is a Poetry PEP 517 Build Backend

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