CVE-2019-14905

Ansible: malicious code could craft filename in nxos_file_copy module

Published Mar 31, 2020 CVSS 3.1 · 5.6 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2020-0018 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.
Github GHSA Github GHSA GHSA-frxj-5j27-f8rf Externally Controlled Reference to a Resource in Another Sphere, Improper Input Validation, and External Control of File Name or Path in Ansible
History

No history.

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-668

    Exposure of Resource to Wrong Sphere

  • CWE-73

    External Control of File Name or Path

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 5, 2024, 12:34 AM
Reserved
Aug 10, 2019, 12:00 AM
Status
Modified
Published
Mar 31, 2020, 5:15 PM
Modified
Jun 17, 2026, 2:19 AM
Severity
Moderate
Public date
Nov 27, 2019, 12:00 AM