CVE-2022-31629

$_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities

MEDIUM
6.5
CVSS Score
Published: September 28, 2022 at 10:25 PM UTC
Updated: June 17, 2026 at 04:45 AM UTC
3 products affected across 3 vendorsDebian LinuxFedoraPHP

Using PHP by PHP Group?

Get instant alerts when new vulnerabilities affect PHP - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 50%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

PHP· PHPdrupal
95%
v < 7.4.317.4.X ≤ v < 7.4.318.0.0 ≤ v < 8.0.248.0.X ≤ v < 8.0.248.1.0 ≤ v < 8.1.118.1.X ≤ v < 8.1.117.4.X8.0.X8.1.X
Affected range stops below 7.4.31, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.0.24, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.1.11, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.5MEDIUMCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-20NVD-CWE-noinfoCWE-1284

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card