ansible-core@2.21.6

Radically simple IT automation

  • latest version

    2.22.1

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    1 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the ansible-core package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Insertion of Sensitive Information into Log File

    ansible-core is an a radically simple IT automation system. It handles configuration management, application deployment, cloud provisioning, ad-hoc task execution, network automation, and multi-node orchestration. Ansible makes complex changes like zero-downtime rolling updates with load balancers easy.

    Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File in the PRESERVE allow-list in _task.py (_PRESERVE in task_result.py in earlier releases). A user with read access to playbook output, such as terminal sessions or CI logs, can obtain values protected by no_log: true by reading the warning and deprecation messages that modules emit through warn() and deprecate(), because the warnings and deprecations keys are retained when a no_log task result is censored. Exploitation requires a module that includes a sensitive parameter value in a warning or deprecation message.

    How to fix Insertion of Sensitive Information into Log File?

    There is no fixed version for ansible-core.

    [2.19.0b5,)
    • M
    Information Exposure

    ansible-core is an a radically simple IT automation system. It handles configuration management, application deployment, cloud provisioning, ad-hoc task execution, network automation, and multi-node orchestration. Ansible makes complex changes like zero-downtime rolling updates with load balancers easy.

    Affected versions of this package are vulnerable to Information Exposure via the PRESERVE allow-list in lib/ansible/_internal/_task.py. When a task marked no_log: true fails, the default stdout callback prints its retained exception text, which can include secret argument values, variable-file source snippets, or full fail/assert messages. This exposes sensitive data in terminal output, CI logs, and automation logs.

    Notes

    • On the exception-generation step, a templating error prints the failing line and the two preceding lines of the variables file, so secrets in nearby lines of a file such as -e @secrets.yml can leak even if they are not the failing value.

    How to fix Information Exposure?

    Upgrade ansible-core to version 2.22.0b2 or higher.

    [2.19.0b1,2.22.0b2)