CVEvulnerability

CVE-2022-31629

6.5 MEDIUM Published 2022-09-28 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-09-28
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weaknesses
CWE-1284, CWE-20

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 configurations

• php php (< 7.4.31) • php php (>= 8.0.0 < 8.0.24) • php php (>= 8.1.0 < 8.1.11) • fedoraproject fedora 35 • fedoraproject fedora 36 • fedoraproject fedora 37 • debian debian linux 10.0 • debian debian linux 11.0

Related

Weakness · CWE (2)

  • CWE-1284 Improper Validation of Specified Quantity in Input weakness
  • CWE-20 Improper Input Validation weakness

References