{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-14905","id":"CVE-2019-14905","title":"Externally Controlled Reference to a Resource in Another Sphere, Improper Input Validation, and External Control of File Name or Path in Ansible","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.","descriptionLong":"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.","published":"2020-03-31T16:20:41.000Z","updated":"2026-11-07T17:27:13.252016395Z","reserved":"2019-08-10T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L","rating":"medium","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L","rating":"medium","source":"NVD"},{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L","rating":"medium","source":"GitHub"},{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L","rating":"high","source":"redhat"},{"version":"3.0","score":7.3,"vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L","rating":"high","source":"redhat.com"},{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":["Red Hat Ansible"],"affectedProducts":[{"vendor":"Red Hat","product":"Ansible","defaultStatus":null,"versions":[{"status":"affected","version":"2.9.x before 2.9.3"},{"status":"affected","version":"2.8.x before 2.8.8"},{"status":"affected","version":"2.7.x before 2.7.16"},{"status":"affected","version":"2.7.x and earlier"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"ansible","purl":"pkg:pypi/ansible","ranges":[">=2.7.0a1 <2.7.16",">=2.8.0a1 <2.8.8",">=2.9.0a1 <2.9.3",">=2.7.0 <2.7.16",">=2.8.0 <2.8.8",">=2.9.0 <2.9.3"],"fixed":["2.7.16","2.8.8","2.9.3"],"advisory":"GHSA-frxj-5j27-f8rf"}],"cwes":["CWE-20","CWE-73","CWE-668","CWE-610"],"aliases":["GHSA-frxj-5j27-f8rf","PYSEC-2020-206"],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14905","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Vendor Advisory","fix","web","report"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0218","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Patch","Vendor Advisory","fix","web","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0216","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Patch","Vendor Advisory","fix","web","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5BNCYPQ4BY5QHBCJOAOPANB5FHATW2BR/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00021.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00026.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14905","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-frxj-5j27-f8rf","tags":["advisory"]},{"url":"https://github.com/ansible/ansible","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-206.yaml","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5BNCYPQ4BY5QHBCJOAOPANB5FHATW2BR","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5BNCYPQ4BY5QHBCJOAOPANB5FHATW2BR/","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00713,"epssPercentile":0.54339,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-14905","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14905","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-14905","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-frxj-5j27-f8rf","ok":true,"note":"GHSA-frxj-5j27-f8rf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-14905","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}