BlogSafe.org

PHP CVEs

Vulnerabilities in the PHP language itself, and which PHP versions they affect.

← Back to CVE list

CVE-2022-31629

MEDIUM 6.5 CVSS 3.1
Published
September 28, 2022
Last modified
June 17, 2026
NVD status
Modified
Reported by
security@php.net
Weakness
CWE-20, CWE-1284
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

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 products and versions

  • PHP — Before 7.4.31
  • PHP — From 8.0.0 (including) to 8.0.24 (excluding)
  • PHP — From 8.1.0 (including) to 8.1.11 (excluding)

References

  • www.openwall.com http://www.openwall.com/lists/oss-security/2024/04/12/11
  • bugs.php.net https://bugs.php.net/bug.php?id=81727 Exploit, Permissions Required, Vendor Advisory
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2022/12/msg00030.html Mailing List, Third Party Advisory
  • lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2L5SUVYGAKSWODUQPZFBUB3AL6E6CSEV/
  • lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/
  • lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSJVPJTX7T3J5V7XHR4MFNHZGP44R5XE/
  • lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VI3E6A3ZTH2RP7OMLJHSVFIEQBIFM6RF/
  • lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XNIEABBH5XCXLFWWZYIDE457SPEDZTXV/
  • lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY/
  • security.gentoo.org https://security.gentoo.org/glsa/202211-03 Third Party Advisory
  • security.netapp.com https://security.netapp.com/advisory/ntap-20221209-0001/ Third Party Advisory
  • www.debian.org https://www.debian.org/security/2022/dsa-5277 Third Party Advisory
  • lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/
  • lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY/
  • nvd.nist.gov Official NVD record