HomePhpCVE-2022-31629

CVE-2022-31629

MEDIUM
6.5CVSS
Published: 2022-09-28
Updated: 2025-11-04
AI Analysis

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.

CVSS Metrics

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Attack Vector
network
Complexity
low
Privileges
none
User Action
required
Scope
unchanged
Confidentiality
none
Integrity
high
Availability
none
Weaknesses
CWE-20NVD-CWE-noinfoCWE-1284

Metadata

Primary Vendor
PHP
Published
9/28/2022
Last Modified
11/4/2025
Source
NIST NVD
Note: Verify all details with official vendor sources before applying patches.

Affected Products

php : phpphp : phpphp : phpfedoraproject : fedorafedoraproject : fedorafedoraproject : fedoradebian : debian_linuxdebian : debian_linux

AI-Powered Remediation

Generate remediation guidance or a C-suite brief for this vulnerability.

Executive Intelligence Brief

CVE-CVE-2022-31629 | MEDIUM Severity | CVEDatabase.com | CVEDatabase.com