Apache has issued an advisory today (January 14): https://www.openwall.com/lists/oss-security/2021/01/14/1 The issue is fixed upstream in 9.0.40: https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.40 It only affects serving files from NTFS filesystems, so it's a minor issue.
Done for mga7!
CC: (none) => geiger.david68210
Advisory: ======================== Updated tomcat package fixes security vulnerability: When serving resources from a network location using the NTFS file system it was possible to bypass security constraints and/or view the source code for JSPs 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 (CVE-2021-24122). References: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24122 https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.40 ======================== Updated packages in core/updates_testing: ======================== tomcat-9.0.39-1.1.mga7 tomcat-admin-webapps-9.0.39-1.1.mga7 tomcat-docs-webapp-9.0.39-1.1.mga7 tomcat-jsvc-9.0.39-1.1.mga7 tomcat-jsp-2.3-api-9.0.39-1.1.mga7 tomcat-lib-9.0.39-1.1.mga7 tomcat-servlet-4.0-api-9.0.39-1.1.mga7 tomcat-el-3.0-api-9.0.39-1.1.mga7 tomcat-webapps-9.0.39-1.1.mga7 from tomcat-9.0.39-1.1.mga7.src.rpm
Assignee: java => qa-bugs
$ uname -a Linux linux.local 5.10.12-desktop-1.mga7 #1 SMP Sat Jan 30 14:29:33 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux The following 8 packages are going to be installed: - tomcat-9.0.39-1.1.mga7.noarch - tomcat-admin-webapps-9.0.39-1.1.mga7.noarch - tomcat-docs-webapp-9.0.39-1.1.mga7.noarch - tomcat-el-3.0-api-9.0.39-1.1.mga7.noarch - tomcat-jsp-2.3-api-9.0.39-1.1.mga7.noarch - tomcat-lib-9.0.39-1.1.mga7.noarch - tomcat-servlet-4.0-api-9.0.39-1.1.mga7.noarch - tomcat-webapps-9.0.39-1.1.mga7.noarch works as designed.
Whiteboard: (none) => MGA7-64-OKCC: (none) => brtians1
Validating. Advisory pushed to SVN.
CVE: (none) => CVE-2021-24122CC: (none) => ouaurelien, sysadmin-bugsKeywords: (none) => advisory, validated_update
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGASA-2021-0072.html
Status: NEW => RESOLVEDResolution: (none) => FIXED