{"id":"UBUNTU-CVE-2021-20206","details":"An improper limitation of path name flaw was found in containernetworking/cni in versions before 0.8.1. When specifying the plugin to load in the 'type' field in the network configuration, it is possible to use special elements such as \"../\" separators to reference binaries elsewhere on the system. This flaw allows an attacker to execute other existing binaries other than the cni plugins/types, such as 'reboot'. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.","modified":"2026-05-20T16:04:42.185967862Z","published":"2021-03-26T22:15:00Z","upstream":["CVE-2021-20206"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-20206"},{"type":"REPORT","url":"https://github.com/containernetworking/cni/pull/808"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1919391"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-20206"}],"affected":[{"package":{"name":"golang-github-appc-cni","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/golang-github-appc-cni?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.3.0+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-appc-cni-dev","binary_version":"0.3.0+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20206.json"}},{"package":{"name":"golang-github-appc-cni","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-github-appc-cni?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.4.0+dfsg-1","0.7.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-appc-cni-dev","binary_version":"0.7.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20206.json"}},{"package":{"name":"golang-github-appc-cni","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-github-appc-cni?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.8.1-1","1.0.1-3"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-appc-cni-dev","binary_version":"1.0.1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20206.json"}},{"package":{"name":"golang-github-appc-cni","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-appc-cni?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-appc-cni-dev","binary_version":"1.1.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20206.json"}},{"package":{"name":"golang-github-appc-cni","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/golang-github-appc-cni?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.1.2-1","binary_name":"golang-github-appc-cni-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20206.json"}},{"package":{"name":"golang-github-appc-cni","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-github-appc-cni?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1.2-1","1.3.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-appc-cni-dev","binary_version":"1.3.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-20206.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}