Directory Traversal Affecting tileserver-gl package, versions <5.3.1-r3


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.47% (38th 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-TILESERVERGL-10318126
  • published7 Jun 2025
  • disclosed2 Jun 2025

Introduced: 2 Jun 2025

CVE-2025-48387  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Chainguard tileserver-gl to version 5.3.1-r3 or higher.

NVD Description

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

tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.0.9, 2.1.3, and 1.16.5 have an issue where an extract can write outside the specified dir with a specific tarball. This has been patched in versions 3.0.9, 2.1.3, and 1.16.5. As a workaround, use the ignore option to ignore non files/directories.