{"id":"UBUNTU-CVE-2020-14947","details":"OCS Inventory NG 2.7 allows Remote Command Execution via shell metacharacters to require/commandLine/CommandLine.php because mib_file in plugins/main_sections/ms_config/ms_snmp_config.php is mishandled in get_mib_oid.","modified":"2026-01-20T17:13:10.054806Z","published":"2020-06-30T21:15:00Z","upstream":["CVE-2020-14947"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-14947"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-14947"}],"affected":[{"package":{"name":"ocsinventory-server","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/ocsinventory-server@2.1.2-1ubuntu1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.2-1","2.1.2-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.2-1ubuntu1","binary_name":"ocsinventory-reports"},{"binary_version":"2.1.2-1ubuntu1","binary_name":"ocsinventory-server"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-14947.json"}},{"package":{"name":"ocsinventory-server","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/ocsinventory-server@2.2+dfsg-0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2+dfsg-0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.2+dfsg-0.1","binary_name":"ocsinventory-reports"},{"binary_version":"2.2+dfsg-0.1","binary_name":"ocsinventory-server"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-14947.json"}},{"package":{"name":"ocsinventory-server","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ocsinventory-server@2.5+dfsg1-1ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5+dfsg1-1","2.5+dfsg1-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.5+dfsg1-1ubuntu0.1","binary_name":"ocsinventory-reports"},{"binary_version":"2.5+dfsg1-1ubuntu0.1","binary_name":"ocsinventory-server"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-14947.json"}},{"package":{"name":"ocsinventory-server","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/ocsinventory-server@2.8.1+dfsg1-1ubuntu0.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.1+dfsg1-1","2.8.1+dfsg1-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.8.1+dfsg1-1ubuntu0.1","binary_name":"ocsinventory-reports"},{"binary_version":"2.8.1+dfsg1-1ubuntu0.1","binary_name":"ocsinventory-server"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-14947.json"}},{"package":{"name":"ocsinventory-server","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ocsinventory-server@2.8.1+dfsg1+~2.11.1-1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.1+dfsg1+~2.11.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.8.1+dfsg1+~2.11.1-1","binary_name":"ocsinventory-reports"},{"binary_version":"2.8.1+dfsg1+~2.11.1-1","binary_name":"ocsinventory-server"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-14947.json"}},{"package":{"name":"ocsinventory-server","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/ocsinventory-server@2.8.1+dfsg1+~2.11.1-1?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.1+dfsg1+~2.11.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.8.1+dfsg1+~2.11.1-1","binary_name":"ocsinventory-reports"},{"binary_version":"2.8.1+dfsg1+~2.11.1-1","binary_name":"ocsinventory-server"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-14947.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}