GHSA-8274-h5jp-97vr · 深刻度: medium · エコシステム: composer — Diactoros before 2.11.1 vulnerable to HTTP Host Header Attack
laminas-diactoros is a PHP package containing implementations of the PSR-7 HTTP message interfaces and PSR-17 HTTP message factory interfaces. Applications that use Diactoros, and are either not behind a proxy, or can be accessed via untrusted proxies, can potentially have the host, protocol, and/or port of a `Laminas\Diactoros\Uri` instance associated with the incoming server request modified to reflect values from `X-Forwarded-*` headers. Such changes can potentially lead to XSS attacks (if a fully-qualified URL is used in links) and/or URL poisoning. Since the `X-Forwarded-*` headers do have valid use cases, particularly in clustered environments using a load balancer, the library offers mitigation measures only in the v2 releases, as doing otherwise would break these use cases immediately. Users of v2 releases from 2.11.1 can provide an additional argument to `Laminas\Diactoros\ServerRequestFactory::fromGlobals()` in the form of a `Laminas\Diactoros\RequestFilter\RequestFilterInterface` instance, including the shipped `Laminas\Diactoros\RequestFilter\NoOpRequestFilter` implementation which ignores the `X-Forwarded-*` headers. Starting in version 3.0, the library will reverse behavior to use the `NoOpRequestFilter` by default, and require users to opt-in to `X-Forwarded-*` header usage via a configured `Laminas\Diactoros\RequestFilter\LegacyXForwardedHeaderFilter` instance. Users are advised to upgrade to version 2.11.1 or later to resolve this issue. Users unable to upgrade may configure web servers to reject `X-Forwarded-*` headers at the web server level.
総合評価: CVE-2022-31109 は中リスク(44.2/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.59%、44 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.38% | 0.59% | +0.21% |
| 2 | 2026-05-03 | 0.49% | 0.38% | -0.11% |
| 3 | 2025-09-19 | — | 0.49% | — |
EPSS の全履歴 (全 10 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 7.2 | 3.1 | HIGH |
|
3.9 | 2.7 | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
GHSA-8274-h5jp-97vr · 深刻度: medium · エコシステム: composer — Diactoros before 2.11.1 vulnerable to HTTP Host Header Attack
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| getlaminas | laminas-diactoros | < 2.11.1 | cpe:2.3:a:getlaminas:laminas-diactoros:*:*:*:*:*:*:*:* |
| URL | タグ |
|---|---|
| https://github.com/laminas/laminas-diactoros/commit/25b11d422c2e5dad868f68619888763b30f91e2d | Patch Third Party Advisory |
| https://github.com/laminas/laminas-diactoros/security/advisories/GHSA-8274-h5jp-97vr | Mitigation Third Party Advisory |
| https://portswigger.net/web-security/host-header | Third Party Advisory |