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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-3243-1 | php7.3 security update |
Debian DLA |
DLA-3810-1 | php7.3 security update |
Debian DSA |
DSA-5277-1 | php7.4 security update |
Ubuntu USN |
USN-5717-1 | PHP vulnerabilities |
Ubuntu USN |
USN-5905-1 | PHP vulnerabilities |
Fixes
Solution
Upgrade to PHP 7.4.31, 8.0.24, or 8.1.11.
Workaround
No workaround given by the vendor.
References
History
Tue, 04 Nov 2025 18:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
Tue, 29 Oct 2024 15:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-1284 | |
| Metrics |
ssvc
|
Status: PUBLISHED
Assigner: php
Published:
Updated: 2025-11-04T17:12:24.069Z
Reserved: 2022-05-25T00:00:00.000Z
Link: CVE-2022-31629
Updated: 2025-11-04T17:12:24.069Z
Status : Modified
Published: 2022-09-28T23:15:10.540
Modified: 2025-11-04T18:15:39.487
Link: CVE-2022-31629
OpenCVE Enrichment
No data.
Debian DLA
Debian DSA
Ubuntu USN