NVD Vulnerability Detail
Search Exploit, PoC
CVE-2022-39261
Summary

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.

Publication Date Sept. 28, 2022, 11:15 p.m.
Registration Date Sept. 29, 2022, 10 a.m.
Last Update Nov. 21, 2024, 4:17 p.m.
CVSS3.1 : HIGH
スコア 7.5
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I) なし
可用性への影響(A) なし
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:* 3.0.0 3.4.3
cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:* 2.0.0 2.15.3
cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:* 1.0.0 1.44.7
Configuration2 or higher or less more than less than
cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* 9.4.0 9.4.7
cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* 8.0.0 9.3.22
Configuration3 or higher or less more than less than
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
Configuration4 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
symfony の twig 他複数ベンダの製品におけるパストラバーサルの脆弱性
Title symfony の twig 他複数ベンダの製品におけるパストラバーサルの脆弱性
Summary

symfony の twig 他複数ベンダの製品には、パストラバーサルの脆弱性が存在します。

Possible impacts 情報を取得される可能性があります。
Solution

ベンダアドバイザリまたはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

Publication Date Sept. 28, 2022, midnight
Registration Date Oct. 18, 2023, 5:10 p.m.
Last Update Oct. 18, 2023, 5:10 p.m.
Affected System
symfony
twig 1.0.0 以上 1.44.7 未満
twig 2.0.0 以上 2.15.3 未満
twig 3.0.0 以上 3.4.3 未満
Drupal
Drupal 8.0.0 以上 9.3.22 未満
Drupal 9.4.0 以上 9.4.7 未満
Debian
Debian GNU/Linux 10.0
Debian GNU/Linux 11.0
Fedora Project
Fedora 35
Fedora 36
Fedora 37
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2023年10月18日]
  掲載
Oct. 18, 2023, 5:10 p.m.