Information Exposure Affecting ansible package, versions [2.7.0,2.7.17)[2.8.0a1,2.8.11)[2.9.0b1,2.9.7)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (9th 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 Information Exposure vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-ANSIBLE-560367
  • published16 Mar 2020
  • disclosed16 Mar 2020
  • creditUnknown

Introduced: 16 Mar 2020

CVE-2020-1740  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade ansible to version 2.7.17, 2.8.11, 2.9.7 or higher.

Overview

ansible is a simple IT automation system.

Affected versions of this package are vulnerable to Information Exposure. When a user executes ansible-vault edit, another user on the same computer can read the old and new secret, as it is created in a temporary file with mkstemp and the returned file descriptor is closed and the method write_data is called to write the existing secret in the file. This method will delete the file before recreating it insecurely.

CVSS Base Scores

version 3.1