Advisory

GHSA-frxj-5j27-f8rf

Also known as: CVE-2019-14905, PYSEC-2020-206

Summary

Externally Controlled Reference to a Resource in Another Sphere, Improper Input Validation, and External Control of File Name or Path in Ansible

Details

A vulnerability was found in Ansible Engine versions 2.9.x before 2.9.3, 2.8.x before 2.8.8, 2.7.x before 2.7.16 and earlier, where in Ansible's nxos_file_copy module can be used to copy files to a flash or bootflash on NXOS devices. Malicious code could craft the filename parameter to perform OS command injections. This could result in a loss of confidentiality of the system among other issues.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-04-20 16:44 UTC
Modified
2024-11-25 05:25 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 2.7.0a1, fixed 2.7.16 (ecosystem)

Fixed versions

2.7.16

Fix

  • Fixed version 2.7.16
    pip install --upgrade ansible==2.7.16

ansible

PyPI · All systems

Affected

  • introduced 2.8.0a1, fixed 2.8.8 (ecosystem)

Fixed versions

2.8.8

Fix

  • Fixed version 2.8.8
    pip install --upgrade ansible==2.8.8

ansible

PyPI · All systems

Affected

  • introduced 2.9.0a1, fixed 2.9.3 (ecosystem)

Fixed versions

2.9.3

Fix

  • Fixed version 2.9.3
    pip install --upgrade ansible==2.9.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences