When serving resources from a network location using the NTFS file system, Apache Tomcat versions 10.0.0-M1 to 10.0.0-M9, 9.0.0.M1 to 9.0.39, 8.5.0 to 8.5.59 and 7.0.0 to 7.0.106 were susceptible to JSP source code disclosure in some configurations. The root cause was the unexpected behaviour of the JRE API File.getCanonicalPath() which in turn was caused by the inconsistent behaviour of the Windows API (FindFirstFileW) in some circumstances.
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Tomcat | Apache | 7.0.0 (including) | 7.0.106 (including) |
Tomcat | Apache | 8.5.0 (including) | 8.5.59 (including) |
Tomcat | Apache | 9.0.1 (including) | 9.0.39 (including) |
Tomcat | Apache | 9.0.0-milestone1 (including) | 9.0.0-milestone1 (including) |
Tomcat | Apache | 9.0.0-milestone10 (including) | 9.0.0-milestone10 (including) |
Tomcat | Apache | 9.0.0-milestone11 (including) | 9.0.0-milestone11 (including) |
Tomcat | Apache | 9.0.0-milestone12 (including) | 9.0.0-milestone12 (including) |
Tomcat | Apache | 9.0.0-milestone13 (including) | 9.0.0-milestone13 (including) |
Tomcat | Apache | 9.0.0-milestone14 (including) | 9.0.0-milestone14 (including) |
Tomcat | Apache | 9.0.0-milestone15 (including) | 9.0.0-milestone15 (including) |
Tomcat | Apache | 9.0.0-milestone16 (including) | 9.0.0-milestone16 (including) |
Tomcat | Apache | 9.0.0-milestone17 (including) | 9.0.0-milestone17 (including) |
Tomcat | Apache | 9.0.0-milestone18 (including) | 9.0.0-milestone18 (including) |
Tomcat | Apache | 9.0.0-milestone19 (including) | 9.0.0-milestone19 (including) |
Tomcat | Apache | 9.0.0-milestone2 (including) | 9.0.0-milestone2 (including) |
Tomcat | Apache | 9.0.0-milestone20 (including) | 9.0.0-milestone20 (including) |
Tomcat | Apache | 9.0.0-milestone21 (including) | 9.0.0-milestone21 (including) |
Tomcat | Apache | 9.0.0-milestone22 (including) | 9.0.0-milestone22 (including) |
Tomcat | Apache | 9.0.0-milestone23 (including) | 9.0.0-milestone23 (including) |
Tomcat | Apache | 9.0.0-milestone24 (including) | 9.0.0-milestone24 (including) |
Tomcat | Apache | 9.0.0-milestone25 (including) | 9.0.0-milestone25 (including) |
Tomcat | Apache | 9.0.0-milestone26 (including) | 9.0.0-milestone26 (including) |
Tomcat | Apache | 9.0.0-milestone27 (including) | 9.0.0-milestone27 (including) |
Tomcat | Apache | 9.0.0-milestone3 (including) | 9.0.0-milestone3 (including) |
Tomcat | Apache | 9.0.0-milestone4 (including) | 9.0.0-milestone4 (including) |
Tomcat | Apache | 9.0.0-milestone5 (including) | 9.0.0-milestone5 (including) |
Tomcat | Apache | 9.0.0-milestone6 (including) | 9.0.0-milestone6 (including) |
Tomcat | Apache | 9.0.0-milestone7 (including) | 9.0.0-milestone7 (including) |
Tomcat | Apache | 9.0.0-milestone8 (including) | 9.0.0-milestone8 (including) |
Tomcat | Apache | 9.0.0-milestone9 (including) | 9.0.0-milestone9 (including) |
Tomcat | Apache | 10.0.0-milestone1 (including) | 10.0.0-milestone1 (including) |
Tomcat | Apache | 10.0.0-milestone2 (including) | 10.0.0-milestone2 (including) |
Tomcat | Apache | 10.0.0-milestone3 (including) | 10.0.0-milestone3 (including) |
Tomcat | Apache | 10.0.0-milestone4 (including) | 10.0.0-milestone4 (including) |
Tomcat | Apache | 10.0.0-milestone5 (including) | 10.0.0-milestone5 (including) |
Tomcat | Apache | 10.0.0-milestone6 (including) | 10.0.0-milestone6 (including) |
Tomcat | Apache | 10.0.0-milestone7 (including) | 10.0.0-milestone7 (including) |
Tomcat | Apache | 10.0.0-milestone8 (including) | 10.0.0-milestone8 (including) |
Tomcat | Apache | 10.0.0-milestone9 (including) | 10.0.0-milestone9 (including) |
Red Hat Fuse 7.11 | RedHat | tomcat | * |
Red Hat JBoss Web Server 5 | RedHat | tomcat | * |
Red Hat JBoss Web Server 5.4 on RHEL 7 | RedHat | jws5-tomcat-0:9.0.36-9.redhat_8.1.el7jws | * |
Red Hat JBoss Web Server 5.4 on RHEL 7 | RedHat | jws5-tomcat-native-0:1.2.25-3.redhat_3.el7jws | * |
Red Hat JBoss Web Server 5.4 on RHEL 8 | RedHat | jws5-tomcat-0:9.0.36-9.redhat_8.1.el8jws | * |
Red Hat JBoss Web Server 5.4 on RHEL 8 | RedHat | jws5-tomcat-native-0:1.2.25-3.redhat_3.el8jws | * |
Red Hat support for Spring Boot 2.3.10 | RedHat | tomcat | * |
Tomcat6 | Ubuntu | precise/esm | * |
Tomcat6 | Ubuntu | trusty | * |
Tomcat6 | Ubuntu | trusty/esm | * |
Tomcat6 | Ubuntu | xenial | * |
Tomcat7 | Ubuntu | bionic | * |
Tomcat7 | Ubuntu | trusty | * |
Tomcat7 | Ubuntu | trusty/esm | * |
Tomcat7 | Ubuntu | xenial | * |
Tomcat8 | Ubuntu | bionic | * |
Tomcat8 | Ubuntu | xenial | * |
Tomcat9 | Ubuntu | bionic | * |
Tomcat9 | Ubuntu | groovy | * |
Tomcat9 | Ubuntu | hirsute | * |
Tomcat9 | Ubuntu | impish | * |
Tomcat9 | Ubuntu | kinetic | * |
Tomcat9 | Ubuntu | lunar | * |
Tomcat9 | Ubuntu | mantic | * |
There are many different kinds of mistakes that introduce information exposures. The severity of the error can range widely, depending on the context in which the product operates, the type of sensitive information that is revealed, and the benefits it may provide to an attacker. Some kinds of sensitive information include:
Information might be sensitive to different parties, each of which may have their own expectations for whether the information should be protected. These parties include:
Information exposures can occur in different ways:
It is common practice to describe any loss of confidentiality as an “information exposure,” but this can lead to overuse of CWE-200 in CWE mapping. From the CWE perspective, loss of confidentiality is a technical impact that can arise from dozens of different weaknesses, such as insecure file permissions or out-of-bounds read. CWE-200 and its lower-level descendants are intended to cover the mistakes that occur in behaviors that explicitly manage, store, transfer, or cleanse sensitive information.