Skip to content

Known exploited

CVE-2020-1938 on Debian 11: affected packages and fixed versions

1 package on Debian 11 is affected by CVE-2020-1938 (Apache Tomcat Improper Privilege Management Vulnerability). A host is fixed once the package is at the version below or newer.

This vulnerability is known to be exploited. CISA added it to its catalog on March 3, 2022, with a remediation date of March 17, 2022 for US federal agencies.

Affected packages

PackageFixed inSeverityAdvisory
tomcat9 9.0.31-1 Not rated none listed

Check a host

Show the installed version and compare with the table above:

dpkg-query -W -f='${Package} ${Version}\n' tomcat9

Update to the fixed build:

sudo apt-get update && sudo apt-get install --only-upgrade tomcat9

The fixed version may look older than the upstream release that fixed the bug. Debian 11 carries the fix in the version it already ships.

What it is

When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Tomcat treats AJP connections as having higher trust than, for example, a similar HTTP connection. If such connections are available to an attacker, they can be exploited in ways that may be surprising. In Apache Tomcat 9.0.0.M1 to 9.0.0.30, 8.5.0 to 8.5.50 and 7.0.0 to 7.0.99, Tomcat shipped with an AJP Connector enabled by default that listened on all configured IP addresses. It was expected (and recommended in the security guide) that this Connector would be disabled if not required. This vulnerability report identified a mechanism that allowed: - returning arbitrary files from anywhere in the web application - processing any file in the web application as a JSP Further, if the web application allowed file upload and stored those files within the web application (or the attacker was able to control the content of the web application by some other means) then this, along with the ability to process a file as a JSP, made remote code execution possible. It is important to note that mitigation is only required if an AJP port is accessible to untrusted users.

CVE-2020-1938 on other releases

Know which of your hosts are affected

SysWard's agent reports the packages installed on each server and matches them against each distribution's own security data, so you see which hosts still have a vulnerable build, and can patch them from the same screen. Free for five servers.

Get started free Check one server now, no signup