Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2018-1305: Security constraints defined by annotations of Servlets in Apache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8

52
This week
MEDIUM 6.5WATCHLISTUPGRADEMITIGATEMITIGATE

CVE-2018-1305 is a medium-severity flaw (CVSS 6.5) affecting tomcat, debian linux, ubuntu linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Security constraints defined by annotations of Servlets in Apache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8.0.0.RC1 to 8.0.49 and 7.0.0 to 7.0.84 were only applied once a Servlet had been loaded. Because security constraints defined in this way apply to the URL pattern and any URLs below that point, it was possible - depending on the order Servlets were loaded - for some security constraints not to be applied. This could have exposed resources

Why this priority

  • EPSS top 3%: very likely to be exploited
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score6.5 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance14.5% (top 3%)
CISA exploited listNo
Published2018-02-23
Last modified2026-10-15
Publisher (CNA): Apache Software Foundation · Vendor: apache · canonical · debian · oracle

Share: LinkedIn · X · Reddit

Last updated 2026-10-15 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

apache tomcat UPGRADE
Affected: >= 7.0.0 and <= 7.0.84 · >= 8.0.0 and <= 8.0.49 · 8.0.0 rc1 · 8.0.0 rc10 · 8.0.0 rc3 · 8.0.0 rc5 · 9.0.0 · 9.0.0 milestone1
Fixed in: newer than 8.5.27
Safe to downgrade to: a release before 7.0.0
1. Check installed version
apt-cache policy tomcat || rpm -q tomcat || tomcat --version
2. UPGRADE to newer than 8.5.27 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade tomcat
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade tomcat
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 7.0.0 (Debian / Ubuntu)
apt-cache madison tomcat sudo apt install tomcat=<VERSION_BEFORE_7.0.0> sudo apt-mark hold tomcat
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list tomcat sudo dnf downgrade tomcat-<VERSION_BEFORE_7.0.0> sudo dnf versionlock add tomcat
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
debian debian linux MITIGATE
Affected: 7.0 · 8.0 · 9.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 7.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
canonical ubuntu linux MITIGATE
Affected: 14.04 · 16.04 · 17.10 · 18.04
Fixed in: no fixed release known
Safe to downgrade to: a release before 14.04
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
oracle fusion middleware DOWNGRADE
Affected: 12.2.1.3.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 12.2.1.3.0
1. Check installed version
apt-cache policy fusion-middleware || rpm -q fusion-middleware || fusion-middleware --version
2. No fixed release: DOWNGRADE to a release before 12.2.1.3.0 (Debian / Ubuntu)
apt-cache madison fusion-middleware sudo apt install fusion-middleware=<VERSION_BEFORE_12.2.1.3.0> sudo apt-mark hold fusion-middleware
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list fusion-middleware sudo dnf downgrade fusion-middleware-<VERSION_BEFORE_12.2.1.3.0> sudo dnf versionlock add fusion-middleware
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
oracle managed file transfer DOWNGRADE
Affected: 12.1.3.0.0 · 12.2.1.3.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 12.1.3.0.0
1. Check installed version
apt-cache policy managed-file-transfer || rpm -q managed-file-transfer || managed-file-transfer --version
2. No fixed release: DOWNGRADE to a release before 12.1.3.0.0 (Debian / Ubuntu)
apt-cache madison managed-file-transfer sudo apt install managed-file-transfer=<VERSION_BEFORE_12.1.3.0.0> sudo apt-mark hold managed-file-transfer
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list managed-file-transfer sudo dnf downgrade managed-file-transfer-<VERSION_BEFORE_12.1.3.0.0> sudo dnf versionlock add managed-file-transfer
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
oracle micros relate crm software DOWNGRADE
Affected: 11.4
Fixed in: no fixed release known
Safe to downgrade to: a release before 11.4
1. Check installed version
apt-cache policy micros-relate-crm-software || rpm -q micros-relate-crm-software || micros-relate-crm-software --version
2. No fixed release: DOWNGRADE to a release before 11.4 (Debian / Ubuntu)
apt-cache madison micros-relate-crm-software sudo apt install micros-relate-crm-software=<VERSION_BEFORE_11.4> sudo apt-mark hold micros-relate-crm-software
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list micros-relate-crm-software sudo dnf downgrade micros-relate-crm-software-<VERSION_BEFORE_11.4> sudo dnf versionlock add micros-relate-crm-software
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2018-1305?

tomcat: upgrade to newer than 8.5.27; debian linux: mitigate or apply the listed mitigation; ubuntu linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2018-1305 being exploited?

CVE-2018-1305 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2018-1305 affect?

CVE-2018-1305 affects tomcat, debian linux, ubuntu linux. Severity is medium (CVSS 6.5). Security constraints defined by annotations of Servlets in Apache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8.0.0.RC1 to 8.0.49 and 7.0.0 to 7.0.84 were only applied once a Servlet had been loaded. Because security constraints defined in t

How urgent is CVE-2018-1305?

Priority 52/100. EPSS top 3%: very likely to be exploited; On your watchlist

Software pages

Apache Tomcat vulnerabilities · Ubuntu vulnerabilities · Debian vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.