GitHub Advisoryadvisory · PyPI

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

HIGH Published 2021-04-20 Modified 2024-11-18 Official page ↗
Aliases
CVE-2019-14905
Ecosystem
PyPI
Packages
ansible
Severity
High
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L
Weaknesses
CWE-20, CWE-610, CWE-668, CWE-73
Reviewed
2021-04-05

Affected packages

• PyPI ansible: >= 2.7.0a1, < 2.7.16 → fixed in 2.7.16 • PyPI ansible: >= 2.8.0a1, < 2.8.8 → fixed in 2.8.8 • PyPI ansible: >= 2.9.0a1, < 2.9.3 → fixed in 2.9.3

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.

Related

Alias · CVE (1)

  • CVE-2019-14905 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… vulnerability

Weakness · CWE (4)

  • CWE-20 Improper Input Validation weakness
  • CWE-610 Externally Controlled Reference to a Resource in Another Sphere weakness
  • CWE-668 Exposure of Resource to Wrong Sphere weakness
  • CWE-73 External Control of File Name or Path weakness

References