GHSA-52m2-vc4m-jj33 · 深刻度: high · エコシステム: composer — 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.
総合評価: CVE-2022-39261 は中リスク(49.7/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 1.49%、71 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 9.50% | 1.49% | -8.02% |
| 2 | 2026-03-24 | 9.07% | 9.50% | +0.43% |
| 3 | 2026-03-15 | — | 9.07% | — |
EPSS の全履歴 (全 29 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
GHSA-52m2-vc4m-jj33 · 深刻度: high · エコシステム: composer — Twig may load a template outside a configured directory when using the filesystem loader
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2022-39261 not yet assigned priority: Debian including 1 source packages (php-twig), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2022-39261 |
ubuntu
|
medium | CVE-2022-39261 medium priority: Ubuntu including 2 source packages (php-twig, twig), 26 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 11, not-affected 6, released 6, ignored 3. | https://ubuntu.com/security/CVE-2022-39261 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| symfony | twig | >= 1.0.0, < 1.44.7 | cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:* |
| symfony | twig | >= 2.0.0, < 2.15.3 | cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:* |
| symfony | twig | >= 3.0.0, < 3.4.3 | cpe:2.3:a:symfony:twig:*:*:*:*:*:*:*:* |
| drupal | drupal | >= 8.0.0, < 9.3.22 | cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
| drupal | drupal | >= 9.4.0, < 9.4.7 | cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* |
| fedoraproject | fedora | 35 | cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
| fedoraproject | fedora | 36 | cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
| fedoraproject | fedora | 37 | cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* |
| debian | debian_linux | 10.0 | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
| debian | debian_linux | 11.0 | cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |