CVE-2022-31629

MEDIUMCVSS 6.5/10EPSS 49.34%

Last modified

CVE-2022-31629 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 49.34% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
6.5/10

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

EPSS Probability
49.34%

98.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

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

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2022-31629?
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.
How severe is CVE-2022-31629?
CVE-2022-31629 has a CVSS score of 6.5/10 (MEDIUM severity). The EPSS model estimates a 49.34% probability of exploitation in the next 30 days.
How do I fix CVE-2022-31629?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2022-31629?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST