Security Bulletin
Summary
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.
Vulnerability Details
CVEID: CVE-2021-24122
DESCRIPTION: Apache Tomcat could allow a remote attacker to obtain sensitive information, caused by a flaw when serving resources from a network location using the NTFS file system. By sending a specially-crafted request, an attacker could exploit this vulnerability to view the source code for JSPs in some configurations, and use this information to launch further attacks against the affected system.
CVSS Base score: 8.2
CVSS Temporal Score: See: https://exchange.xforce.ibmcloud.com/vulnerabilities/194894 for the current score.
CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N)
Affected Products and Versions
| Affected Product(s) | Version(s) |
| UCD - IBM UrbanCode Deploy | 7.1.1.1 |
| UCD - IBM UrbanCode Deploy | 7.0.5.3 |
| UCD - IBM UrbanCode Deploy | 7.1.1.0 |
| UCD - IBM UrbanCode Deploy | 7.1.0.0 |
| UCD - IBM UrbanCode Deploy | 7.0.5.4 |
| UCD - IBM UrbanCode Deploy | 6.2.7.4 |
| UCD - IBM UrbanCode Deploy | 6.2.7.3 |
| UCD - IBM UrbanCode Deploy | 6.2.7.8 |
| UCD - IBM UrbanCode Deploy | 7.0.4.0 |
| UCD - IBM UrbanCode Deploy | 6.2.7.9 |
| UCD - IBM UrbanCode Deploy | 7.0.3.0 |
| UCD - IBM UrbanCode Deploy | 7.1.1.2 |
| UCD - IBM UrbanCode Deploy | All |
Remediation/Fixes
Upgrade to 7.1.2.0, 6.2.7.10, 7.0.5.5
Workarounds and Mitigations
None
Get Notified about Future Security Bulletins
References
Change History
29 Mar 2021: Initial Publication
*The CVSS Environment Score is customer environment specific and will ultimately impact the Overall CVSS Score. Customers can evaluate the impact of this vulnerability in their environments by accessing the links in the Reference section of this Security Bulletin.
Disclaimer
Review the IBM security bulletin disclaimer and definitions regarding your responsibilities for assessing potential impact of security vulnerabilities to your environment.
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
29 March 2021
UID
ibm16437571