6.5medium
$_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities
- Severity
- 6.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 49.6% (higher than 98% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- php
- Also known as
- BIT-LIBPHP-2022-31629BIT-PHP-2022-31629BIT-PHP-MIN-2022-31629
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
| Product or package | Versions | Reported by |
|---|---|---|
| PHP Group PHP | from 7.4.X before 7.4.31, from 8.0.X before 8.0.24, from 8.1.X before 8.1.11 | CVE List |
| php php | before 7.4.31, from 8.0.0 before 8.0.24, from 8.1.0 before 8.1.11 | NVD |
| fedoraproject fedora | 35, 36, 37 | NVD |
| debian debian_linux | 10.0, 11.0 | NVD |
| libphp (Bitnami) | before 7.4.31, from 8.0.0 before 8.0.24, from 8.1.0 before 8.1.11 | Bitnami Vulnerability Database |
| php (Bitnami) | before 7.4.31, from 8.0.0 before 8.0.24, from 8.1.0 before 8.1.11 | Bitnami Vulnerability Database |
| php-min (Bitnami) | before 7.4.31, from 8.0.0 before 8.0.24, from 8.1.0 before 8.1.11 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
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.
NVD (es)
En PHP versiones anteriores a 7.4.31, 8.0.24 y 8.1.11, la vulnerabilidad permite a atacantes de la red y del mismo sitio establecer una cookie no segura estándar en el navegador de la víctima que es tratada como una cookie "__Host-" o "__Secure-" por las aplicaciones PHP
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31629 changed 2025-11-04 | CVE Terms of Use |
| NVD | CVE-2022-31629 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-LIBPHP-2022-31629 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PHP-2022-31629 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-PHP-MIN-2022-31629 changed 2026-09-08 | Apache-2.0 |