CVE-2016-9775
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.
What to do
Fixed builds are available from Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | tomcat6 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | tomcat7 | Fixed | 7.0.68-1ubuntu0.3 | UBUNTU-CVE-2016-9775 |
| Ubuntu 16.04 | tomcat8 | Fixed | 8.0.32-1ubuntu1.3 | UBUNTU-CVE-2016-9775 |
| Ubuntu 14.04 | tomcat6 | Fix pending | UBUNTU-CVE-2016-9775 | |
| Ubuntu 14.04 | tomcat7 | Fixed | 7.0.52-1ubuntu0.8 | UBUNTU-CVE-2016-9775 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.ubuntu.com/usn/USN-3177-2 (vendor-advisory)
- http://www.debian.org/security/2016/dsa-3739 (vendor-advisory)
- http://www.debian.org/security/2016/dsa-3738 (vendor-advisory)
- http://www.ubuntu.com/usn/USN-3177-1 (vendor-advisory)
References
- http://www.ubuntu.com/usn/USN-3177-2
- http://www.securityfocus.com/bid/94643
- http://www.debian.org/security/2016/dsa-3739
- http://www.debian.org/security/2016/dsa-3738
- http://www.openwall.com/lists/oss-security/2016/12/02/5
- http://www.openwall.com/lists/oss-security/2016/12/02/10
- http://www.ubuntu.com/usn/USN-3177-1
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845385
- https://security.netapp.com/advisory/ntap-20180731-0002/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.