Use of Incorrectly-Resolved Name or Reference Affecting spark-3.5.0-compat package, versions <3.5.0-r2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.29% (69th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-SPARK350COMPAT-6057518
  • published15 Nov 2023
  • disclosed14 Jan 2021

Introduced: 14 Jan 2021

CVE-2021-24122  (opens in a new tab)
CWE-706  (opens in a new tab)

How to fix?

Upgrade Chainguard spark-3.5.0-compat to version 3.5.0-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream spark-3.5.0-compat package and not the spark-3.5.0-compat package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.

References

CVSS Scores

version 3.1