CVE-2022-31629
$_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities
6.5
MEDIUM
CVSS 3.1
EPSS 15.4%
Description
In PHP versions before 7.4.31, 8.0.24 and 8.1.11, the vulnerability enables network and same-site attackers to set a standard insecure cookie in the victim's browser which is treated as a `__Host-` or `__Secure-` cookie by PHP applications.
How to fix CVE-2022-31629
To remediate CVE-2022-31629, upgrade the affected package to a fixed version below.
- —upgrade to 7.4.31 or later
- —upgrade to 7.4.31 or later
- —upgrade to 7.4.31 or later
- —upgrade to 7.4.33-1+deb11u1 or later
Is CVE-2022-31629 being exploited?
Moderate — EPSS is 15.4%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (4)
- from 0, < 7.4.31, >= 8.0.0, < 8.0.24, >= 8.1.0, < 8.1.11
- from 0, < 7.4.31, >= 8.0.0, < 8.0.24, >= 8.1.0, < 8.1.11
- from 0, < 7.4.31, >= 8.0.0, < 8.0.24, >= 8.1.0, < 8.1.11
- from 0, < 7.4.33-1+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |