Live threats

All CVEs / Php

CVE-2022-31629Php

Medium 6.5 No auth neededHigh EPSS

Priority
55
CVSS 3.1
6.5
EPSS
10.7%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Sep 28, 2022
Updated
Jun 17, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-20, CWE-1284
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Php.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
phpphp< 7.4.31
phpphp≥ 8.0.0 < 8.0.24
phpphp≥ 8.1.0 < 8.1.11
fedoraprojectfedora35
fedoraprojectfedora36
fedoraprojectfedora37
debiandebian_linux10.0
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.