CVE-2022-39284
LOWDescription
CodeIgniter is a PHP full-stack web framework. In versions prior to 4.2.7 setting `$secure` or `$httponly` value to `true` in `Config\Cookie` is not reflected in `set_cookie()` or `Response::setCookie()`. As a result cookie values are erroneously exposed to scripts. It should be noted that this vulnerability does not affect session cookies. Users are advised to upgrade to v4.2.7 or later. Users unable to upgrade are advised to manually construct their cookies either by setting the options in code or by constructing Cookie objects. Examples of each workaround are available in the linked GHSA.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 53% of all known CVEs.
References
Related Vulnerabilities
Other CWE-665 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2022-0847 | High | 7.8 | 88% | KEV | Fix |
| CVE-2022-22719 | High | 7.5 | 70% | - | Fix |
| CVE-2020-28019 | High | 7.5 | 61% | - | Fix |
| CVE-2022-46164 | Critical | 9.4 | 49% | - | Fix |
| CVE-2022-37128 | Critical | 9.8 | 21% | - | - |
| CVE-2019-14271 | Critical | 9.8 | 19% | - | Fix |
Embed a live status badge for CVE-2022-39284
Markdown
[](https://tridentstack.com/cve/CVE-2022-39284)HTML
<a href="https://tridentstack.com/cve/CVE-2022-39284"><img src="https://tridentstack.com/cve/badge/CVE-2022-39284.svg" alt="CVE-2022-39284"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.