Insecure Default Affecting ansible-runner package, versions [,2.0.1)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.05% (18th 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 Insecure Default vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-ANSIBLERUNNER-1566564
  • published17 Aug 2021
  • disclosed23 Jun 2021
  • creditToshio Kuratomi

Introduced: 23 Jun 2021

CVE-2021-3701  (opens in a new tab)
CWE-276  (opens in a new tab)

How to fix?

Upgrade ansible-runner to version 2.0.1 or higher.

Overview

ansible-runner is a tool that helps when interfacing with Ansible directly or as part of another system whether that be through a container image interface, as a standalone tool, or as a Python module that can be imported.

Affected versions of this package are vulnerable to Insecure Default. The default temporary files configuration in are written to world R/W locations. This flaw allows an attacker to pre-create the directory, resulting in reading private information or forcing ansible-runner to write files as the legitimate user in a place they did not expect.

CVSS Scores

version 3.1