{"id":"UBUNTU-CVE-2022-27239","details":"In cifs-utils through 6.14, a stack-based buffer overflow when parsing the mount.cifs ip= command-line argument could lead to local attackers gaining root privileges.","modified":"2026-02-04T03:16:49.427641Z","published":"2022-04-27T14:15:00Z","related":["USN-5459-1","USN-7688-1"],"upstream":["CVE-2022-27239"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-27239"},{"type":"REPORT","url":"http://wiki.robotz.com/index.php/Linux_CIFS_Utils_and_Samba"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5459-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-27239"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7688-1"}],"affected":[{"package":{"name":"cifs-utils","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/cifs-utils@2:6.0-1ubuntu2+esm1?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:6.0-1ubuntu2+esm1"}]}],"versions":["2:6.0-1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"2:6.0-1ubuntu2+esm1","binary_name":"cifs-utils"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27239.json"}},{"package":{"name":"cifs-utils","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/cifs-utils@2:6.4-1ubuntu1.1+esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:6.4-1ubuntu1.1+esm1"}]}],"versions":["2:6.4-1ubuntu1","2:6.4-1ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2:6.4-1ubuntu1.1+esm1","binary_name":"cifs-utils"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27239.json"}},{"package":{"name":"cifs-utils","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/cifs-utils@2:6.8-1ubuntu1.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:6.8-1ubuntu1.2"}]}],"versions":["2:6.7-1","2:6.8-1","2:6.8-1ubuntu1","2:6.8-1ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2:6.8-1ubuntu1.2","binary_name":"cifs-utils"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27239.json"}},{"package":{"name":"cifs-utils","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/cifs-utils@2:6.9-1ubuntu0.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:6.9-1ubuntu0.2"}]}],"versions":["2:6.9-0ubuntu1","2:6.9-1","2:6.9-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2:6.9-1ubuntu0.2","binary_name":"cifs-utils"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27239.json"}},{"package":{"name":"cifs-utils","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/cifs-utils@2:6.14-1ubuntu0.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:6.14-1ubuntu0.1"}]}],"versions":["2:6.11-3.1","2:6.14-1","2:6.14-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"2:6.14-1ubuntu0.1","binary_name":"cifs-utils"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-27239.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}