MGASA-2021-0072 - Updated tomcat packages fix a security vulnerability

Publication date: 06 Feb 2021
URL: https://advisories.mageia.org/MGASA-2021-0072.html
Type: security
Affected Mageia releases: 7
CVE: CVE-2021-24122

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://bugs.mageia.org/show_bug.cgi?id=28093
- https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.40
- https://www.openwall.com/lists/oss-security/2021/01/14/1
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24122

SRPMS:
- 7/core/tomcat-9.0.39-1.1.mga7

Mageia 2021-0072: tomcat security update

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

Summary

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://bugs.mageia.org/show_bug.cgi?id=28093

- https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.40

- https://www.openwall.com/lists/oss-security/2021/01/14/1

- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-24122

Resolution

MGASA-2021-0072 - Updated tomcat packages fix a security vulnerability

SRPMS

- 7/core/tomcat-9.0.39-1.1.mga7

Severity
Publication date: 06 Feb 2021
URL: https://advisories.mageia.org/MGASA-2021-0072.html
Type: security
CVE: CVE-2021-24122

Related News