CVE-2022-31109: laminas-diactoros is a PHP package containing implementations of the PSR-7 HTTP message interfaces and PSR-17
CVE-2022-31109 is a high-severity flaw (CVSS 7.2) affecting laminas-diactoros. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-31109?
laminas-diactoros: upgrade to 2.11.1. Exact commands for each OS are on this page.
Is CVE-2022-31109 being exploited?
CVE-2022-31109 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-31109 affect?
CVE-2022-31109 affects laminas-diactoros. Severity is high (CVSS 7.2). 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 untrus
How urgent is CVE-2022-31109?
Priority 44/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2023-29530 HIGH 7.5 UPGRADE UPGRADE Laminas Diactoros provides PSR HTTP Message implementations