← All CVEs

CVE-2022-31629

medium · 6.5

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.

6.5
CVSS
49.3%
EPSS (exploit prob.)
99th
EPSS percentile
2022-09-28
Published

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Weaknesses

CWE-20CWE-1284

Affected products

VendorProductAffected versions
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

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2022-31629