Skip to content
High 7.5

geojson-vtに再帰処理の脆弱性、細工したGeoJSONでサービスが停止するおそれ

CVE-2026-58505 First seen on SecPulse

Summary

深くネストしたGeometryCollectionを含むGeoJSONを渡されると、呼び出しスタックが枯渇してプロセスが終了し、サービス停止を招くおそれがあります。影響を受けるのは6.1.1より前の@maplibre/geojson-vtで、6.1.1で修正されています。サーバー側でGeoJSONを受け付けている場合は、6.1.1以降へ更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

深くネストしたGeometryCollectionを含むGeoJSONを渡されると、呼び出しスタックが枯渇してプロセスが終了し、サービス停止を招くおそれがあります。影響を受けるのは6.1.1より前の@maplibre/geojson-vtで、6.1.1で修正されています。サーバー側でGeoJSONを受け付けている場合は、6.1.1以降へ更新してください。

Original description The description as published by the source.

geojson-vt is a JavaScript library for slicing GeoJSON data into vector tiles on the fly, primarily designed to enable rendering and interacting with large geospatial datasets on the browser side (without a server). Prior to version 6.1.1, @maplibre/geojson-vt contains an uncontrolled recursion vulnerability in its GeoJSON conversion logic. When a GeoJSONVT instance is constructed with a deeply nested GeometryCollection object, the mutually recursive functions featureToInternal and convertGeometryCollection in src/convert.ts exhaust the Node.js call stack, causing an unhandled RangeError: Maximum call stack size exceeded that terminates the process. Because the library is widely used in server-side tile services that accept GeoJSON over the network, a remote unauthenticated attacker can trigger a denial-of-service by sending a single crafted payload. No authentication is required, and no non-default library options are needed. This issue has been patched in version 6.1.1.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details