CVE-2022-31629
MEDIUM6.5EPSS 15.4%$_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities
Published: 9/28/2022Modified: 4/28/2026
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 packages (4)
- Bitnami/libphpfrom 0, < 7.4.31, >= 8.0.0, < 8.0.24, >= 8.1.0, < 8.1.11
- Bitnami/phpfrom 0, < 7.4.31, >= 8.0.0, < 8.0.24, >= 8.1.0, < 8.1.11
- Bitnami/php-minfrom 0, < 7.4.31, >= 8.0.0, < 8.0.24, >= 8.1.0, < 8.1.11
- Debian/php7.4from 0, < 7.4.33-1+deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
References (16)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-31629
- WEBhttps://bugs.php.net/bug.php?id=81727
- WEBhttps://lists.debian.org/debian-lts-announce/2022/12/msg00030.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2L5SUVYGAKSWODUQPZFBUB3AL6E6CSEV/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSJVPJTX7T3J5V7XHR4MFNHZGP44R5XE/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VI3E6A3ZTH2RP7OMLJHSVFIEQBIFM6RF/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XNIEABBH5XCXLFWWZYIDE457SPEDZTXV/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2022-31629
- WEBhttps://security.gentoo.org/glsa/202211-03
- WEBhttps://security.netapp.com/advisory/ntap-20221209-0001/
- WEBhttps://www.debian.org/security/2022/dsa-5277
- WEBhttp://www.openwall.com/lists/oss-security/2024/04/12/11