Known exploited
CVE-2020-1938 on Rocky Linux 8: affected packages and fixed versions
46 packages on Rocky Linux 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
| Package | Fixed in | Severity | Advisory |
|---|---|---|---|
apache-commons-collections |
3.2.2-10.module+el8.1.0+3366+6dfb954c3.2.2-10.module+el8.3.0+53+ea0629903.2.2-10.module+el8.3.0+74+855e3f5d |
Moderate | RLSA-2020:4847 |
apache-commons-lang |
2.6-21.module+el8.1.0+3366+6dfb954c2.6-21.module+el8.3.0+53+ea0629902.6-21.module+el8.3.0+74+855e3f5d |
Moderate | RLSA-2020:4847 |
apache-commons-net |
3.6-3.module+el8.3.0+53+ea0629903.6-3.module+el8.3.0+74+855e3f5d3.6-3.module+el8.3.0+6805+72837426 |
Moderate | RLSA-2020:4847 |
bea-stax-api |
1.2.0-16.module+el8.1.0+3366+6dfb954c1.2.0-16.module+el8.3.0+53+ea062990 |
Moderate | RLSA-2020:4847 |
glassfish-fastinfoset |
1.2.13-9.module+el8.1.0+3366+6dfb954c1.2.13-9.module+el8.3.0+53+ea062990 |
Moderate | RLSA-2020:4847 |
glassfish-jaxb-api |
2.2.12-8.module+el8.1.0+3366+6dfb954c2.2.12-8.module+el8.3.0+53+ea062990 |
Moderate | RLSA-2020:4847 |
glassfish-jaxb-core |
2.2.11-11.module+el8.1.0+3366+6dfb954c2.2.11-11.module+el8.3.0+53+ea062990 |
Moderate | RLSA-2020:4847 |
glassfish-jaxb-runtime |
2.2.11-11.module+el8.1.0+3366+6dfb954c2.2.11-11.module+el8.3.0+53+ea062990 |
Moderate | RLSA-2020:4847 |
glassfish-jaxb-txw2 |
2.2.11-11.module+el8.1.0+3366+6dfb954c2.2.11-11.module+el8.3.0+53+ea062990 |
Moderate | RLSA-2020:4847 |
jackson-annotations |
2.10.0-1.module+el8.2.0+5059+3eb3af252.10.0-1.module+el8.3.0+53+ea062990 |
Moderate | RLSA-2020:4847 |
jackson-core |
2.10.0-1.module+el8.2.0+5059+3eb3af252.10.0-1.module+el8.3.0+53+ea062990 |
Moderate | RLSA-2020:4847 |
jackson-databind |
2.10.0-1.module+el8.2.0+5059+3eb3af252.10.0-1.module+el8.3.0+53+ea062990 |
Moderate | RLSA-2020:4847 |
jackson-jaxrs-json-provider |
2.9.9-1.module+el8.1.0+3832+9784644d2.9.9-1.module+el8.3.0+53+ea062990 |
Moderate | RLSA-2020:4847 |
jackson-jaxrs-providers |
2.9.9-1.module+el8.1.0+3832+9784644d2.9.9-1.module+el8.3.0+53+ea062990 |
Moderate | RLSA-2020:4847 |
jackson-module-jaxb-annotations |
2.7.6-4.module+el8.1.0+3366+6dfb954c2.7.6-4.module+el8.3.0+53+ea062990 |
Moderate | RLSA-2020:4847 |
jakarta-commons-httpclient |
1:3.1-28.module+el8.1.0+3366+6dfb954c1:3.1-28.module+el8.3.0+53+ea0629901:3.1-28.module+el8.3.0+74+855e3f5d |
Moderate | RLSA-2020:4847 |
javassist |
3.18.1-8.module+el8.1.0+3366+6dfb954c3.18.1-8.module+el8.3.0+53+ea0629903.18.1-8.module+el8.3.0+74+855e3f5d |
Moderate | RLSA-2020:4847 |
javassist-javadoc |
3.18.1-8.module+el8.1.0+3366+6dfb954c3.18.1-8.module+el8.3.0+53+ea0629903.18.1-8.module+el8.3.0+74+855e3f5d |
Moderate | RLSA-2020:4847 |
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+6e1e4c624.22.0-1.module+el8.4.0+418+b7ae1d4a |
Moderate | RLSA-2020:4847 |
ldapjdk-javadoc |
4.22.0-1.module+el8.3.0+6784+6e1e4c624.22.0-1.module+el8.4.0+418+b7ae1d4a |
Moderate | RLSA-2020:4847 |
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+53+ea0629901:9.0.30-1.module+el8.3.0+6730+8f9c6254 |
Moderate | RLSA-2020:4847 |
pki-servlet-engine |
1:9.0.30-1.module+el8.3.0+53+ea0629901:9.0.30-1.module+el8.3.0+6730+8f9c6254 |
Moderate | RLSA-2020:4847 |
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+6dfb954c1.0.1-10.module+el8.3.0+53+ea062990 |
Moderate | RLSA-2020:4847 |
python3-nss |
1.0.1-10.module+el8.1.0+3366+6dfb954c1.0.1-10.module+el8.3.0+53+ea062990 |
Moderate | RLSA-2020:4847 |
python3-pki |
10.9.4-1.module+el8.3.0+8058+d5cd4219 |
Moderate | none listed |
relaxngDatatype |
2011.1-7.module+el8.1.0+3366+6dfb954c2011.1-7.module+el8.3.0+53+ea062990 |
Moderate | RLSA-2020:4847 |
resteasy |
3.0.26-3.module+el8.2.0+5723+4574fbff3.0.26-3.module+el8.3.0+53+ea062990 |
Moderate | RLSA-2020:4847 |
slf4j |
1.7.25-4.module+el8.1.0+3366+6dfb954c1.7.25-4.module+el8.3.0+74+855e3f5d1.7.25-4.module+el8.3.0+133+b8b54b581.7.25-4.module+el8.5.0+697+f586bb30 |
Moderate | RLSA-2020:4847 |
slf4j-jdk14 |
1.7.25-4.module+el8.1.0+3366+6dfb954c1.7.25-4.module+el8.3.0+53+ea0629901.7.25-4.module+el8.3.0+74+855e3f5d1.7.25-4.module+el8.5.0+697+f586bb30 |
Moderate | RLSA-2020:4847 |
stax-ex |
1.7.7-8.module+el8.2.0+5723+4574fbff1.7.7-8.module+el8.3.0+53+ea062990 |
Moderate | RLSA-2020:4847 |
tomcatjss |
7.5.0-1.module+el8.3.0+7355+c59bcbd9 |
Moderate | none listed |
velocity |
1.7-24.module+el8.1.0+3366+6dfb954c1.7-24.module+el8.3.0+53+ea0629901.7-24.module+el8.3.0+74+855e3f5d |
Moderate | RLSA-2020:4847 |
xalan-j2 |
2.7.1-38.module+el8.1.0+3366+6dfb954c2.7.1-38.module+el8.3.0+53+ea0629902.7.1-38.module+el8.3.0+74+855e3f5d |
Moderate | RLSA-2020:4847 |
xerces-j2 |
2.11.0-34.module+el8.1.0+3366+6dfb954c2.11.0-34.module+el8.3.0+53+ea0629902.11.0-34.module+el8.3.0+74+855e3f5d |
Moderate | RLSA-2020:4847 |
xml-commons-apis |
1.4.01-25.module+el8.1.0+3366+6dfb954c1.4.01-25.module+el8.3.0+53+ea0629901.4.01-25.module+el8.3.0+74+855e3f5d1.4.01-25.module+el8.5.0+697+f586bb30 |
Moderate | RLSA-2020:4847 |
xml-commons-resolver |
1.2-26.module+el8.1.0+3366+6dfb954c1.2-26.module+el8.3.0+53+ea0629901.2-26.module+el8.3.0+74+855e3f5d |
Moderate | RLSA-2020:4847 |
xmlstreambuffer |
1.5.4-8.module+el8.2.0+5723+4574fbff1.5.4-8.module+el8.3.0+53+ea062990 |
Moderate | RLSA-2020:4847 |
Where a package lists several versions, the vendor fixed it separately for each minor release or module stream it maintains. The one for your minor release applies to your host.
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. Rocky Linux 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.