CVE-2017-7674
The CORS Filter in Apache Tomcat 9.0.0.M1 to 9.0.0.M21, 8.5.0 to 8.5.15, 8.0.0.RC1 to 8.0.44 and 7.0.41 to 7.0.78 did not add an HTTP Vary header indicating that the response varies depending on Origin. This permitted client and server side cache poisoning in some circumstances.
What to do
Fixed builds are available from Maven, Red Hat, 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 | tomcat7 | Fix pending | UBUNTU-CVE-2017-7674 | |
| Ubuntu 16.04 | tomcat8 | Fixed | 8.0.32-1ubuntu1.5 | UBUNTU-CVE-2017-7674 |
| Ubuntu 14.04 | tomcat7 | Fixed | 7.0.52-1ubuntu0.13 | UBUNTU-CVE-2017-7674 |
| Red Hat Enterprise Linux 7 | tomcat | Fixed | 0:7.0.76-3.el7_4 | RHSA-2017:3081 |
| Red Hat Enterprise Linux 7 | tomcat-admin-webapps | Fixed | 0:7.0.76-3.el7_4 | RHSA-2017:3081 |
| Red Hat Enterprise Linux 7 | tomcat-docs-webapp | Fixed | 0:7.0.76-3.el7_4 | RHSA-2017:3081 |
| Red Hat Enterprise Linux 7 | tomcat-el-2.2-api | Fixed | 0:7.0.76-3.el7_4 | RHSA-2017:3081 |
| Red Hat Enterprise Linux 7 | tomcat-javadoc | Fixed | 0:7.0.76-3.el7_4 | RHSA-2017:3081 |
| Red Hat Enterprise Linux 7 | tomcat-jsp-2.2-api | Fixed | 0:7.0.76-3.el7_4 | RHSA-2017:3081 |
| Red Hat Enterprise Linux 7 | tomcat-jsvc | Fixed | 0:7.0.76-3.el7_4 | RHSA-2017:3081 |
| Red Hat Enterprise Linux 7 | tomcat-lib | Fixed | 0:7.0.76-3.el7_4 | RHSA-2017:3081 |
| Red Hat Enterprise Linux 7 | tomcat-servlet-3.0-api | Fixed | 0:7.0.76-3.el7_4 | RHSA-2017:3081 |
| Red Hat Enterprise Linux 7 | tomcat-webapps | Fixed | 0:7.0.76-3.el7_4 | RHSA-2017:3081 |
| Red Hat Enterprise Linux 6 | tomcat6 | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-admin-webapps | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-docs-webapp | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-el-2.1-api | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-javadoc | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-jsp-2.1-api | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-lib | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-log4j | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-servlet-2.5-api | Not affected | ||
| Red Hat Enterprise Linux 6 | tomcat6-webapps | Not affected | ||
| Maven library | org.apache.tomcat:tomcat | Fixed | 7.0.79 | GHSA-73rx-3f9r-x949 |
What the vendor says
As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Apache Software Foundation Apache Tomcat: affected: 9.0.0.M1 to 9.0.0.M21, 8.5.0 to 8.5.15, 8.0.0.RC1 to 8.0.44, 7.0.41 to 7.0.78
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2017:1801 (vendor-advisory)
- http://www.debian.org/security/2017/dsa-3974 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:1802 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:3081 (vendor-advisory)
References
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03828en_us
- https://access.redhat.com/errata/RHSA-2017:1801
- https://lists.apache.org/thread.html/22b4bb077502f847e2b9fcf00b96e81e734466ab459780ff73b60c0f%40%3Cannounce.tomcat.apache.org%3E
- https://security.netapp.com/advisory/ntap-20180614-0003/
- http://www.securityfocus.com/bid/100280
- http://www.debian.org/security/2017/dsa-3974
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- https://lists.debian.org/debian-lts-announce/2018/06/msg00008.html
- https://access.redhat.com/errata/RHSA-2017:1802
- https://access.redhat.com/errata/RHSA-2017:3081
- https://lists.apache.org/thread.html/eb6efa8d59c45a7a9eff94c4b925467d3b3fec8ba7697f3daa314b04%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/343558d982879bf88ec20dbf707f8c11255f8e219e81d45c4f8d0551%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/388a323769f1dff84c9ec905455aa73fbcb20338e3c7eb131457f708%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/5c0e00fd31efc11e147bf99d0f03c00a734447d3b131ab0818644cdb%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/b5e3f51d28cd5d9b1809f56594f2cf63dcd6a90429e16ea9f83bbedc%40%3Cdev.tomcat.apache.org%3E
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.