Back
CVE-2022-31629$_COOKIE names string replacement (. -> _): cookie integrity vulnerabilities
- 6.5MediumCVSS base score
- 49.6%Exploitation in 30 daysEPSS · top 1.1% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By php
- 4 months later
· 4 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 49.6% · top 1.1% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Affected products
What to do
Solution: Upgrade to PHP 7.4.31, 8.0.24, or 8.1.11.
References
References14
- https://bugs.php.net/bug.php?id=81727 (opens in a new tab)x_transferred
- FEDORA-2022-0b77fbd9e7 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-afdea1c747 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2022-f204e1d0ed (opens in a new tab)vendor-advisoryx_transferred
- DSA-5277 (opens in a new tab)vendor-advisoryx_transferred
- GLSA-202211-03 (opens in a new tab)vendor-advisoryx_transferred
- https://security.netapp.com/advisory/ntap-20221209-0001/ (opens in a new tab)x_transferred
- [debian-lts-announce] 20221215 [SECURITY] [DLA 3243-1] php7.3 security update (opens in a new tab)mailing-listx_transferred
- FEDORA-2024-b46619f761 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2024-39d50cc975 (opens in a new tab)vendor-advisoryx_transferred
- FEDORA-2024-5e8ae0def0 (opens in a new tab)vendor-advisoryx_transferred
- [oss-security] 20240412 PHP security releases 8.1.28, 8.2.18, & 8.3.6 (opens in a new tab)mailing-listx_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY/ (opens in a new tab)
- https://lists.fedoraproject.org/archives/list/[email protected]/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/ (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-53081 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-31629)Record last updated .