Skip to content
OpenAdvisories
High · 7.5 CVE-2018-1336 EUVD-2018-0635GHSA-m59c-jpc8-m2x4

In Apache Tomcat there is an improper handing of overflow in the UTF-8 decoder

Published Aug 2, 2018 · Updated Nov 14, 2024 · Assigned by apache

Description

An improper handing of overflow in the UTF-8 decoder with supplementary characters can lead to an infinite loop in the decoder causing a Denial of Service. Versions Affected: Apache Tomcat 9.0.0.M9 to 9.0.7, 8.5.0 to 8.5.30, 8.0.0.RC1 to 8.0.51, and 7.0.28 to 7.0.86.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Tomcat 9.0.0.M9 to 9.0.7, 8.5.0 to 8.5.30, 8.0.0.RC1 to 8.0.51, 7.0.28 to 7.0.86 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 9 tomcat8 8.5.14-1+deb9u3 DSA-4281-1
Debian 8 tomcat8 8.0.14-1+deb8u13 DLA-1491-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS tomcat8 8.5.39-1ubuntu1~18.04.1 —
Ubuntu 16.04 LTS tomcat8 8.0.32-1ubuntu1.7 USN-3723-1
Ubuntu 14.04 LTS tomcat7 7.0.52-1ubuntu0.15 USN-3723-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS tomcat7 7.0.68-1ubuntu0.4+esm1 USN-4791-1
ReleasePackageFixed inAdvisory
RHEL 7 tomcat +9 7.0.76-8.el7_5 RHSA-2018:2921
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat JBoss Web Server 5 jws5 +1 1-5.el6jws RHEA-2018:2189, RHEA-2018:2188
Red Hat JBoss Web Server 5 jws5-ecj 4.6.1-5.redhat_1.1.el6jws RHEA-2018:2189, RHEA-2018:2188
Red Hat JBoss Web Server 5 jws5-javapackages-tools +1 3.4.1-5.15.7.el6jws RHEA-2018:2189, RHEA-2018:2188
Red Hat JBoss Web Server 5 jws5-jboss-logging 3.3.1-4.Final_redhat_1.1.el6jws RHEA-2018:2189, RHEA-2018:2188
Red Hat JBoss Web Server 5 jws5-mod_cluster +1 1.4.0-8.Final_redhat_1.1.el6jws RHEA-2018:2189, RHEA-2018:2188
Red Hat JBoss Web Server 5 jws5-tomcat +10 9.0.7-10.redhat_10.1.el6jws RHEA-2018:2189, RHEA-2018:2188
Red Hat JBoss Web Server 5 jws5-tomcat-native 1.2.17-20.redhat_20.el6jws RHEA-2018:2189, RHEA-2018:2188
Red Hat JBoss Web Server 5 jws5-tomcat-vault +1 1.1.7-3.Final_redhat_1.1.el6jws RHEA-2018:2189, RHEA-2018:2188
Red Hat JBoss Web Server 3 tomcat7 +11 7.0.70-29.ep7.el6 RHSA-2018:2701
Red Hat JBoss Web Server 3 tomcat8 +11 8.0.36-33.ep7.el6 RHSA-2018:2701
Red Hat JBoss EAP 6 codehaus-jackson +4 1.9.9-14.redhat_7.1.ep6.el5 RHSA-2018:2743, RHSA-2018:2742, RHSA-2018:2741
Red Hat JBoss EAP 6 guava-libraries 13.0.1-5.redhat_3.1.ep6.el5 RHSA-2018:2743, RHSA-2018:2742, RHSA-2018:2741
Red Hat JBoss EAP 6 hibernate4-validator 4.3.4-1.Final_redhat_1.1.ep6.el5 RHSA-2018:2743, RHSA-2018:2742, RHSA-2018:2741
Red Hat JBoss EAP 6 hornetq 2.3.25-27.SP28_redhat_1.1.ep6.el5 RHSA-2018:2743, RHSA-2018:2742, RHSA-2018:2741
Red Hat JBoss EAP 6 ironjacamar-eap6 +9 1.0.42-2.Final_redhat_2.1.ep6.el5 RHSA-2018:2743, RHSA-2018:2742, RHSA-2018:2741
Red Hat JBoss EAP 6 jboss-as-ee +54 7.5.21-1.Final_redhat_1.1.ep6.el5 RHSA-2018:2743, RHSA-2018:2742, RHSA-2018:2741
Red Hat JBoss EAP 6 jboss-ejb-client 1.0.41-1.Final_redhat_1.1.ep6.el5 RHSA-2018:2743, RHSA-2018:2742, RHSA-2018:2741
Red Hat JBoss EAP 6 jboss-modules 1.3.11-1.Final_redhat_1.1.ep6.el5 RHSA-2018:2743, RHSA-2018:2742, RHSA-2018:2741
Red Hat JBoss EAP 6 jboss-vfs2 3.2.13-1.Final_redhat_1.1.ep6.el5 RHSA-2018:2743, RHSA-2018:2742, RHSA-2018:2741
Red Hat JBoss EAP 6 jboss-xnio-base 3.0.17-1.GA_redhat_1.1.ep6.el5 RHSA-2018:2743, RHSA-2018:2742, RHSA-2018:2741
Red Hat JBoss EAP 6 jbossas-core +6 7.5.21-2.Final_redhat_1.1.ep6.el5 RHSA-2018:2743, RHSA-2018:2742, RHSA-2018:2741
Red Hat JBoss EAP 6 jbossas-javadocs 7.5.21-2.Final_redhat_1.2.ep6.el5 RHSA-2018:2743, RHSA-2018:2742, RHSA-2018:2741
Red Hat JBoss EAP 6 jbossweb 7.5.29-1.Final_redhat_1.1.ep6.el5 RHSA-2018:2743, RHSA-2018:2742, RHSA-2018:2741
Red Hat JBoss EAP 6 picketlink-bindings 2.5.4-23.SP18_redhat_2.1.ep6.el5 RHSA-2018:2743, RHSA-2018:2742, RHSA-2018:2741
Red Hat JBoss EAP 6 picketlink-federation 2.5.4-21.SP18_redhat_2.1.ep6.el5 RHSA-2018:2743, RHSA-2018:2742, RHSA-2018:2741
Red Hat JBoss EAP 6 xerces-j2-eap6 2.9.1-19.redhat_8.1.ep6.el5 RHSA-2018:2743, RHSA-2018:2742, RHSA-2018:2741
ReleasePackageFixed inAdvisory
SLES 15 tomcat 9.0.10-3.7.1 SUSE-SU-2018:3011-1
SLES 12 SP3 tomcat 8.0.53-29.13.1 SUSE-SU-2018:2699-1
SLES 12 SP1 tomcat 8.0.53-10.35.1 SUSE-SU-2018:3388-1
SLES 12 tomcat 7.0.90-7.23.1 SUSE-SU-2018:3261-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 tomcat 8.0.53-29.13.1 SUSE-SU-2018:2699-1
SLES for SAP 12 SP1 tomcat 8.0.53-10.35.1 SUSE-SU-2018:3388-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed tomcat 9.0.36-8.4 openSUSE-SU-2024:11468-1
openSUSE Tumbleweed tomcat10 10.1.14-1.1 openSUSE-SU-2024:13441-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 tomcat +9 7.0.76-8.amzn2 ALAS2-2018-1105

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 tomcat +9 7.0.76-8.el7_5 ELSA-2018-2921

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.tomcat.embed:tomcat-embed-core >= 9.0.0.M9, < 9.0.8 9.0.8 GHSA-m59c-jpc8-m2x4
Maven org.apache.tomcat.embed:tomcat-embed-core >= 8.5.0, < 8.5.31 8.5.31 GHSA-m59c-jpc8-m2x4
Maven org.apache.tomcat.embed:tomcat-embed-core >= 8.0.0RC1, < 8.0.51 8.0.51 GHSA-m59c-jpc8-m2x4
Maven org.apache.tomcat.embed:tomcat-embed-core >= 7.0.28, < 7.0.87 7.0.87 GHSA-m59c-jpc8-m2x4

Advisories 21

References