{"schema_version":"1.7.3","id":"GHSA-frxj-5j27-f8rf","published":"2021-04-20T16:44:49Z","modified":"2024-11-25T05:25:15.851785Z","aliases":["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.","affected":[{"package":{"name":"ansible","ecosystem":"PyPI","purl":"pkg:pypi/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0a1"},{"fixed":"2.7.16"}]}],"versions":["2.7.0","2.7.0a1","2.7.0b1","2.7.0rc1","2.7.0rc2","2.7.0rc3","2.7.0rc4","2.7.1","2.7.10","2.7.11","2.7.12","2.7.13","2.7.14","2.7.15","2.7.2","2.7.3","2.7.4","2.7.5","2.7.6","2.7.7","2.7.8","2.7.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-frxj-5j27-f8rf/GHSA-frxj-5j27-f8rf.json"}},{"package":{"name":"ansible","ecosystem":"PyPI","purl":"pkg:pypi/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.0a1"},{"fixed":"2.8.8"}]}],"versions":["2.8.0","2.8.0a1","2.8.0b1","2.8.0rc1","2.8.0rc2","2.8.0rc3","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.8.7"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-frxj-5j27-f8rf/GHSA-frxj-5j27-f8rf.json"}},{"package":{"name":"ansible","ecosystem":"PyPI","purl":"pkg:pypi/ansible"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.0a1"},{"fixed":"2.9.3"}]}],"versions":["2.9.0","2.9.0b1","2.9.0rc1","2.9.0rc2","2.9.0rc3","2.9.0rc4","2.9.0rc5","2.9.1","2.9.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-frxj-5j27-f8rf/GHSA-frxj-5j27-f8rf.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14905"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0216"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2020:0218"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14905"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-frxj-5j27-f8rf"},{"type":"PACKAGE","url":"https://github.com/ansible/ansible"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-206.yaml"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5BNCYPQ4BY5QHBCJOAOPANB5FHATW2BR"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html"}],"database_specific":{"cwe_ids":["CWE-20","CWE-610","CWE-668","CWE-73"],"github_reviewed":true,"github_reviewed_at":"2021-04-05T14:41:23Z","nvd_published_at":"2020-03-31T17:15:00Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:L/VA:L/SC:N/SI:N/SA:N"}]}