CVE-2020-1938: Improper Privilege Management in Tomcat
CVE-2020-1938 · Severity: critical · CVSS 3.1 · Exploited in the wild · Published 2020-06-15
Apache Tomcat's AJP Connector improperly manages privileges by treating AJP connections with higher trust than HTTP. An attacker can exploit this to read arbitrary files from the web application or process files as JSPs, potentially leading to remote code execution if file uploads are permitted.
Yes. org.apache.tomcat.embed:tomcat-embed-core (Maven): upgrade to 9.0.31 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2020-1938 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2020-1938?
Check whether you run Apache Tomcat or org.apache.tomcat.embed:tomcat-embed-core (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
org.apache.tomcat.embed:tomcat-embed-core (Maven): upgrade to 9.0.31 or later
# set org.apache.tomcat.embed:tomcat-embed-core to 9.0.31 in your pom.xml or build.gradle
Affected products
Apache Tomcat 9.0.0.M1 to 9.0.0.30
Apache Tomcat 8.5.0 to 8.5.50
Apache Tomcat 7.0.0 to 7.0.99
Identifiers
CVE-2020-1938
GHSA-c9hw-wf7x-jp9j
Timeline
2020-02-24: patched: Apache Tomcat 9.0.31, 8.5.51, and 7.0.100 released with fixes.