Skip to content

Known exploited

CVE-2020-1938 on RHEL 8: affected packages and fixed versions

46 packages on RHEL 8 are 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
apache-commons-collections 3.2.2-10.module+el8.1.0+3366+6dfb954c Moderate none listed
apache-commons-lang 2.6-21.module+el8.1.0+3366+6dfb954c Moderate none listed
apache-commons-net 3.6-3.module+el8.3.0+6805+72837426 Moderate none listed
bea-stax-api 1.2.0-16.module+el8.1.0+3366+6dfb954c Moderate none listed
glassfish-fastinfoset 1.2.13-9.module+el8.1.0+3366+6dfb954c Moderate none listed
glassfish-jaxb-api 2.2.12-8.module+el8.1.0+3366+6dfb954c Moderate none listed
glassfish-jaxb-core 2.2.11-11.module+el8.1.0+3366+6dfb954c Moderate none listed
glassfish-jaxb-runtime 2.2.11-11.module+el8.1.0+3366+6dfb954c Moderate none listed
glassfish-jaxb-txw2 2.2.11-11.module+el8.1.0+3366+6dfb954c Moderate none listed
jackson-annotations 2.10.0-1.module+el8.2.0+5059+3eb3af25 Moderate none listed
jackson-core 2.10.0-1.module+el8.2.0+5059+3eb3af25 Moderate none listed
jackson-databind 2.10.0-1.module+el8.2.0+5059+3eb3af25 Moderate none listed
jackson-jaxrs-json-provider 2.9.9-1.module+el8.1.0+3832+9784644d Moderate none listed
jackson-jaxrs-providers 2.9.9-1.module+el8.1.0+3832+9784644d Moderate none listed
jackson-module-jaxb-annotations 2.7.6-4.module+el8.1.0+3366+6dfb954c Moderate none listed
jakarta-commons-httpclient 1:3.1-28.module+el8.1.0+3366+6dfb954c Moderate none listed
javassist 3.18.1-8.module+el8.1.0+3366+6dfb954c Moderate none listed
javassist-javadoc 3.18.1-8.module+el8.1.0+3366+6dfb954c Moderate none listed
jss 4.7.3-1.module+el8.3.0+8058+d5cd4219 Moderate none listed
jss-javadoc 4.7.3-1.module+el8.3.0+8058+d5cd4219 Moderate none listed
ldapjdk 4.22.0-1.module+el8.3.0+6784+6e1e4c62 Moderate none listed
ldapjdk-javadoc 4.22.0-1.module+el8.3.0+6784+6e1e4c62 Moderate none listed
pki-base 10.9.4-1.module+el8.3.0+8058+d5cd4219 Moderate none listed
pki-base-java 10.9.4-1.module+el8.3.0+8058+d5cd4219 Moderate none listed
pki-ca 10.9.4-1.module+el8.3.0+8058+d5cd4219 Moderate none listed
pki-kra 10.9.4-1.module+el8.3.0+8058+d5cd4219 Moderate none listed
pki-server 10.9.4-1.module+el8.3.0+8058+d5cd4219 Moderate none listed
pki-servlet-4.0-api 1:9.0.30-1.module+el8.3.0+6730+8f9c6254 Moderate none listed
pki-servlet-engine 1:9.0.30-1.module+el8.3.0+6730+8f9c6254 Moderate none listed
pki-symkey 10.9.4-1.module+el8.3.0+8058+d5cd4219 Moderate none listed
pki-tools 10.9.4-1.module+el8.3.0+8058+d5cd4219 Moderate none listed
python-nss-doc 1.0.1-10.module+el8.1.0+3366+6dfb954c Moderate none listed
python3-nss 1.0.1-10.module+el8.1.0+3366+6dfb954c Moderate none listed
python3-pki 10.9.4-1.module+el8.3.0+8058+d5cd4219 Moderate none listed
relaxngDatatype 2011.1-7.module+el8.1.0+3366+6dfb954c Moderate none listed
resteasy 3.0.26-3.module+el8.2.0+5723+4574fbff Moderate none listed
slf4j 1.7.25-4.module+el8.1.0+3366+6dfb954c Moderate none listed
slf4j-jdk14 1.7.25-4.module+el8.1.0+3366+6dfb954c Moderate none listed
stax-ex 1.7.7-8.module+el8.2.0+5723+4574fbff Moderate none listed
tomcatjss 7.5.0-1.module+el8.3.0+7355+c59bcbd9 Moderate none listed
velocity 1.7-24.module+el8.1.0+3366+6dfb954c Moderate none listed
xalan-j2 2.7.1-38.module+el8.1.0+3366+6dfb954c Moderate none listed
xerces-j2 2.11.0-34.module+el8.1.0+3366+6dfb954c Moderate none listed
xml-commons-apis 1.4.01-25.module+el8.1.0+3366+6dfb954c Moderate none listed
xml-commons-resolver 1.2-26.module+el8.1.0+3366+6dfb954c Moderate none listed
xmlstreambuffer 1.5.4-8.module+el8.2.0+5723+4574fbff Moderate none listed

Check a host

Show the installed versions and compare with the table above:

rpm -q apache-commons-collections apache-commons-lang apache-commons-net bea-stax-api

Update to the fixed build:

sudo dnf upgrade apache-commons-collections apache-commons-lang apache-commons-net bea-stax-api

The fixed version may look older than the upstream release that fixed the bug. RHEL 8 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