kcve.ai취약점 정보 · 내 자산 확인

CVE-2025-59340 jinjava Sandbox Bypass via JavaType-Based Deserialization

설명

jinjava is a Java-based template engine based on django template syntax, adapted to render jinja templates. Priori to 2.8.1, by using mapper.getTypeFactory().constructFromCanonical(), it is possible to instruct the underlying ObjectMapper to deserialize attacker-controlled input into arbitrary classes. This enables the creation of semi-arbitrary class instances without directly invoking restricted methods or class literals. As a result, an attacker can escape the sandbox and instantiate classes such as java.net.URL, opening up the ability to access local files and URLs(e.g., file:///etc/passwd). With further chaining, this primitive can potentially lead to remote code execution (RCE). This vulnerability is fixed in 2.8.1.

영향 받는 제품 제품 1개

  • HubSpot

    jinjava

    해결 버전 있음

    영향 받는 버전

    • 2.8.1 미만

    해결 버전

    • 2.8.1 이상

참고 자료 3건

‹ 목록

점검 지원 범위 문의

도입 문의