{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-20206","id":"CVE-2021-20206","title":"containernetworking/cni improper limitation of path name","description":"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, su","descriptionLong":"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.","published":"2021-03-26T21:34:58.000Z","updated":"2026-10-24T10:31:03.821227521Z","reserved":"2020-12-17T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["containernetworking-cni"],"affectedProducts":[{"vendor":"n/a","product":"containernetworking-cni","defaultStatus":null,"versions":[{"status":"affected","version":"containernetworking/cni 0.8.1"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/containernetworking/cni","purl":"pkg:golang/github.com/containernetworking/cni","ranges":["<0.8.1"],"fixed":["0.8.1"],"advisory":"GHSA-xjqr-g762-pxwp"}],"cwes":["CWE-20","CWE-22"],"aliases":["GHSA-xjqr-g762-pxwp","GO-2022-0230","SNYK-GOLANG-GITHUBCOMCONTAINERNETWORKINGCNIPKGINVOKE-1070549"],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1919391","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMCONTAINERNETWORKINGCNIPKGINVOKE-1070549","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20206","tags":["advisory"]},{"url":"https://github.com/containernetworking/cni/pull/808","tags":["web","fix"]},{"url":"https://github.com/containernetworking/cni","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2022-0230","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01525,"epssPercentile":0.75209,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-20206","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20206","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-20206","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xjqr-g762-pxwp","ok":true,"note":"GHSA-xjqr-g762-pxwp"},{"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-2021-20206","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}