{"id":"UBUNTU-CVE-2016-9775","details":"The postrm script in the tomcat6 package before 6.0.45+dfsg-1~deb7u3 on Debian wheezy, before 6.0.45+dfsg-1~deb8u1 on Debian jessie, before 6.0.35-1ubuntu3.9 on Ubuntu 12.04 LTS and on Ubuntu 14.04 LTS; the tomcat7 package before 7.0.28-4+deb7u7 on Debian wheezy, before 7.0.56-3+deb8u6 on Debian jessie, before 7.0.52-1ubuntu0.8 on Ubuntu 14.04 LTS, and on Ubuntu 12.04 LTS, 16.04 LTS, and 16.10; and the tomcat8 package before 8.0.14-1+deb8u5 on Debian jessie, before 8.0.32-1ubuntu1.3 on Ubuntu 16.04 LTS, before 8.0.37-1ubuntu0.1 on Ubuntu 16.10, and before 8.0.38-2ubuntu1 on Ubuntu 17.04 might allow local users with access to the tomcat account to gain root privileges via a setgid program in the Catalina directory, as demonstrated by /etc/tomcat8/Catalina/attack.","modified":"2026-01-30T01:02:03.746638Z","published":"2016-12-02T00:00:00Z","related":["USN-3177-1"],"upstream":["CVE-2016-9775"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2016-9775"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2016/12/02/5"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3177-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2016-9775"}],"affected":[{"package":{"name":"tomcat7","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/tomcat7@7.0.52-1ubuntu0.8?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.52-1ubuntu0.8"}]}],"versions":["7.0.42-1","7.0.47-1","7.0.50-1","7.0.52-1","7.0.52-1ubuntu0.1","7.0.52-1ubuntu0.3","7.0.52-1ubuntu0.6","7.0.52-1ubuntu0.7"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libservlet3.0-java","binary_version":"7.0.52-1ubuntu0.8"},{"binary_name":"libtomcat7-java","binary_version":"7.0.52-1ubuntu0.8"},{"binary_name":"tomcat7","binary_version":"7.0.52-1ubuntu0.8"},{"binary_name":"tomcat7-admin","binary_version":"7.0.52-1ubuntu0.8"},{"binary_name":"tomcat7-common","binary_version":"7.0.52-1ubuntu0.8"},{"binary_name":"tomcat7-docs","binary_version":"7.0.52-1ubuntu0.8"},{"binary_name":"tomcat7-examples","binary_version":"7.0.52-1ubuntu0.8"},{"binary_name":"tomcat7-user","binary_version":"7.0.52-1ubuntu0.8"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-9775.json"}},{"package":{"name":"tomcat6","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/tomcat6@6.0.39-1ubuntu0.1+esm2?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.37-1","6.0.39-1","6.0.39-1ubuntu0.1","6.0.39-1ubuntu0.1+esm1","6.0.39-1ubuntu0.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"libservlet2.4-java","binary_version":"6.0.39-1ubuntu0.1+esm2"},{"binary_name":"libservlet2.5-java","binary_version":"6.0.39-1ubuntu0.1+esm2"},{"binary_name":"libtomcat6-java","binary_version":"6.0.39-1ubuntu0.1+esm2"},{"binary_name":"tomcat6","binary_version":"6.0.39-1ubuntu0.1+esm2"},{"binary_name":"tomcat6-admin","binary_version":"6.0.39-1ubuntu0.1+esm2"},{"binary_name":"tomcat6-common","binary_version":"6.0.39-1ubuntu0.1+esm2"},{"binary_name":"tomcat6-docs","binary_version":"6.0.39-1ubuntu0.1+esm2"},{"binary_name":"tomcat6-examples","binary_version":"6.0.39-1ubuntu0.1+esm2"},{"binary_name":"tomcat6-extras","binary_version":"6.0.39-1ubuntu0.1+esm2"},{"binary_name":"tomcat6-user","binary_version":"6.0.39-1ubuntu0.1+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-9775.json"}},{"package":{"name":"tomcat7","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/tomcat7@7.0.68-1ubuntu0.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.0.68-1ubuntu0.3"}]}],"versions":["7.0.64-1","7.0.68-1","7.0.68-1ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libservlet3.0-java","binary_version":"7.0.68-1ubuntu0.3"},{"binary_name":"libtomcat7-java","binary_version":"7.0.68-1ubuntu0.3"},{"binary_name":"tomcat7","binary_version":"7.0.68-1ubuntu0.3"},{"binary_name":"tomcat7-admin","binary_version":"7.0.68-1ubuntu0.3"},{"binary_name":"tomcat7-common","binary_version":"7.0.68-1ubuntu0.3"},{"binary_name":"tomcat7-docs","binary_version":"7.0.68-1ubuntu0.3"},{"binary_name":"tomcat7-examples","binary_version":"7.0.68-1ubuntu0.3"},{"binary_name":"tomcat7-user","binary_version":"7.0.68-1ubuntu0.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-9775.json"}},{"package":{"name":"tomcat8","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/tomcat8@8.0.32-1ubuntu1.3?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.0.32-1ubuntu1.3"}]}],"versions":["8.0.26-1","8.0.28-1","8.0.30-1","8.0.32-1","8.0.32-1ubuntu1","8.0.32-1ubuntu1.1","8.0.32-1ubuntu1.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libservlet3.1-java","binary_version":"8.0.32-1ubuntu1.3"},{"binary_name":"libtomcat8-java","binary_version":"8.0.32-1ubuntu1.3"},{"binary_name":"tomcat8","binary_version":"8.0.32-1ubuntu1.3"},{"binary_name":"tomcat8-admin","binary_version":"8.0.32-1ubuntu1.3"},{"binary_name":"tomcat8-common","binary_version":"8.0.32-1ubuntu1.3"},{"binary_name":"tomcat8-docs","binary_version":"8.0.32-1ubuntu1.3"},{"binary_name":"tomcat8-examples","binary_version":"8.0.32-1ubuntu1.3"},{"binary_name":"tomcat8-user","binary_version":"8.0.32-1ubuntu1.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2016/UBUNTU-CVE-2016-9775.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}