CVEfocus › CVE database › CVE-2019-0221

CVE-2019-0221

CVSS 6.1 MediumEPSS 58.3% (in the top 1% of all CVEs)Published 2019-05-28Updated 2026-11-02Assigner: apache

The SSI printenv command in Apache Tomcat 9.0.0.M1 to 9.0.0.17, 8.5.0 to 8.5.39 and 7.0.0 to 7.0.93 echoes user provided data without escaping and is, therefore, vulnerable to XSS. SSI is disabled by default. The printenv command is intended for debugging and is unlikely to be present in a production website.

What to do

Likely to be exploited: EPSS gives a 58% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Debian, Maven, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have 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

9Fixed
13Fix pending
10Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04tomcat7Fix pending7.0.78-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2019-0221
Ubuntu 18.04tomcat8Fixed8.5.39-1ubuntu1~18.04.3UBUNTU-CVE-2019-0221
Ubuntu 18.04tomcat9Fixed9.0.16-3ubuntu0.18.04.1UBUNTU-CVE-2019-0221
Ubuntu 16.04tomcat7Fix pending7.0.68-1ubuntu0.4+esm2 (Ubuntu Pro)UBUNTU-CVE-2019-0221
Ubuntu 16.04tomcat8Fixed8.0.32-1ubuntu1.10UBUNTU-CVE-2019-0221
Ubuntu 14.04tomcat7Fix pending7.0.52-1ubuntu0.16+esm1 (Ubuntu Pro)UBUNTU-CVE-2019-0221
Debian 14tomcat9Fixed9.0.16-4DEBIAN-CVE-2019-0221
Debian 13tomcat9Fixed9.0.16-4DEBIAN-CVE-2019-0221
Debian 12tomcat9Fixed9.0.16-4DEBIAN-CVE-2019-0221
Red Hat Enterprise Linux 7tomcatFix pending
Fix deferred
Red Hat Enterprise Linux 7tomcat-admin-webappsFix pending
Fix deferred
Red Hat Enterprise Linux 7tomcat-docs-webappFix pending
Fix deferred
Red Hat Enterprise Linux 7tomcat-el-2.2-apiFix pending
Fix deferred
Red Hat Enterprise Linux 7tomcat-javadocFix pending
Fix deferred
Red Hat Enterprise Linux 7tomcat-jsp-2.2-apiFix pending
Fix deferred
Red Hat Enterprise Linux 7tomcat-jsvcFix pending
Fix deferred
Red Hat Enterprise Linux 7tomcat-libFix pending
Fix deferred
Red Hat Enterprise Linux 7tomcat-servlet-3.0-apiFix pending
Fix deferred
Red Hat Enterprise Linux 7tomcat-webappsFix pending
Fix deferred
Red Hat Enterprise Linux 6tomcat6Will not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-admin-webappsWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-docs-webappWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-el-2.1-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-javadocWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-jsp-2.1-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-libWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-log4jWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-servlet-2.5-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-webappsWill not fix
Out of support scope
Maven libraryorg.apache.tomcat.embed:tomcat-embed-coreFixed7.0.94GHSA-jjpq-gp5q-8q6w
Maven libraryorg.apache.tomcat:tomcatFixed8.5.40GHSA-jjpq-gp5q-8q6w
Maven libraryorg.apache.tomcat:tomcat-catalinaFixed7.0.94GHSA-jjpq-gp5q-8q6w

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.

Vendor advisories:

References

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.