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


0.0
low

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.05% (17th percentile)
Expand this section
NVD
4.7 medium
Expand this section
Red Hat
3.9 low

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 ID SNYK-PYTHON-ANSIBLE-560367
  • published 16 Mar 2020
  • disclosed 16 Mar 2020
  • credit Unknown

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.