kcve.ai취약점 정보 · 내 서버 확인

CVE-2022-39261 Twig may load a template outside a configured directory when using the filesystem loader

설명

Twig is a template language for PHP. Versions 1.x prior to 1.44.7, 2.x prior to 2.15.3, and 3.x prior to 3.4.3 encounter an issue when the filesystem loader loads templates for which the name is a user input. It is possible to use the `source` or `include` statement to read arbitrary files from outside the templates' directory when using a namespace like `@somewhere/../some.file`. In such a case, validation is bypassed. Versions 1.44.7, 2.15.3, and 3.4.3 contain a fix for validation of such template names. There are no known workarounds aside from upgrading.

영향 받는 제품 제품 1개

  • twigphp

    Twig

    해결 버전 있음

    영향 받는 버전

    • 버전 정보 확인 필요
    • 2.0.0 이상 2.15.3 미만
    • 3.0.0 이상 3.4.3 미만

    해결 버전

    • 2.15.3 이상
    • 3.4.3 이상

참고 자료 8건

‹ 목록

운영 중인 서버의 점검 지원 범위가 궁금하면

도입 문의