CVE-2022-31629
Medium
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.
SeverityMedium
CVSS6.5
Exploit probability—
Product
Php
PublishedSep 28, 2022
First seenSep 28, 2022
Weakness typeCWE-20Improper input validation
How to fix
Update
- php php7.4.31, 8.0.24, 8.1.11 or later
Vendor advisories
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XNIEABBH5XCXLFWWZYIDE457SPEDZTXV/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VI3E6A3ZTH2RP7OMLJHSVFIEQBIFM6RF/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2L5SUVYGAKSWODUQPZFBUB3AL6E6CSEV/
- debian.org/security/2022/dsa-5277
- security.gentoo.org/glsa/202211-03
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSJVPJTX7T3J5V7XHR4MFNHZGP44R5XE/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| php php | v < 7.4.31, 8.0.0 ≤ v < 8.0.24, 8.1.0 ≤ v < 8.1.11 | 7.4.31, 8.0.24, 8.1.11 |
| fedoraproject fedora | 35, 36, 37 | — |
| debian debian_linux | 10.0, 11.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.