Improper input validation in PHP
CVE-2022-31629
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.493 (98.9th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 99th percentile — 98.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.493 · newest: 0.493 · change: 0.000
Affected products
- PHP
- PHP Group — versions 7.4.X, 8.0.X, 8.1.X
- Debian Linux — versions 10.0, 11.0
- Fedoraproject Fedora — versions 35, 36, 37
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bugs.php.net/bug.php (Permissions Required, Exploit, Vendor Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- www.debian.org/security/2022/dsa-5277 (vendor-advisory, Third Party Advisory)
- security.gentoo.org/glsa/202211-03 (vendor-advisory, Third Party Advisory)
- security.netapp.com/advisory/ntap-20221209-0001/ (Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/12/msg00030.html (mailing-list, Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2022-31629?
- CVE-2022-31629 is a medium-severity vulnerability in PHP, classified under Improper Input Validation. CVSS score: 6.5/10. Published 2022-09-28.
- How severe is CVE-2022-31629?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2022-31629 known to be exploited?
- 13 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.