CVE-2016-5388
Apache Tomcat 7.x through 7.0.70 and 8.x through 8.5.4, when the CGI Servlet is enabled, follows RFC 3875 section 4.1.18 and therefore…
Check your servers for CVE-2016-5388
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2016-5388 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
Apache Tomcat 7.x through 7.0.70 and 8.x through 8.5.4, when the CGI Servlet is enabled, follows RFC 3875 section 4.1.18 and therefore does not protect applications from the presence of untrusted client data in the HTTP_PROXY environment variable, which might allow remote attackers to redirect an application's outbound HTTP traffic to an arbitrary proxy server via a crafted Proxy header in an HTTP request, aka an "httpoxy" issue. NOTE: the vendor states "A mitigation is planned for future releases of Tomcat, tracked as CVE-2016-5388"; in other words, this is not a CVE ID for a vulnerability.
Exploitation
EPSS 50.8%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.1% of all scored CVEs. Scores of 27 Nov 2026.
The assessment of CISA (SSVC, 15 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2016-5388 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2016-5388RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2016-5388Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2016-5388
trivy image --scanners vuln IMAGE | grep CVE-2016-5388
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- RHSA-2016:1635 access.redhat.com · vendor advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05320149 h20566.www2.hpe.com
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05324759 h20566.www2.hpe.com
- VU#797896 kb.cert.org · third party advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2016-3090545.html oracle.com
- RHSA-2016:2045 rhn.redhat.com · vendor advisory
- RHSA-2016:2046 rhn.redhat.com · vendor advisory
- https://tomcat.apache.org/tomcat-7.0-doc/changelog.html tomcat.apache.org
- openSUSE-SU-2016:2252 lists.opensuse.org · vendor advisory
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722 h20566.www2.hpe.com
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03770en_us h20566.www2.hpe.com
- RHSA-2016:1624 rhn.redhat.com · vendor advisory
- https://www.apache.org/security/asf-httpoxy-response.txt apache.org
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html oracle.com
- RHSA-2016:1636 access.redhat.com · vendor advisory
Other references
- 91818 securityfocus.com · vdb entry
- https://httpoxy.org/ httpoxy.org
- 1036331 securitytracker.com · vdb entry
- [debian-lts-announce] 20190813 [SECURITY] [DLA 1883-1] tomcat8 security update lists.debian.org · mailing list
- [activemq-issues] 20190820 [jira] [Created] (AMQ-7279) Security Vulnerabilities in Libraries… lists.apache.org · mailing list
- [activemq-issues] 20190826 [jira] [Created] (AMQ-7288) Security Vulnerabilities in ActiveMQ dependent libraries. lists.apache.org · mailing list
- [activemq-issues] 20190925 [jira] [Created] (AMQ-7310) Security Vulnerabilities in Tomcat-websocket-api.jar lists.apache.org · mailing list
- [tomcat-users] 20200813 CVE reporting discrepencies lists.apache.org · mailing list
- [tomcat-users] 20200813 Re: CVE reporting discrepencies lists.apache.org · mailing list
- [tomcat-users] 20200814 Re: CVE reporting discrepencies lists.apache.org · mailing list
Source: the record CVE-2016-5388 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse