Vulnerability in Codeigniter
CVE-2022-39284
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.
Vulnerability class: Dirty Pipe (CVE-2022-0847)
EPSS: 0.008 (54.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 2.6 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N.
Affected products
- Codeigniter
- Codeigniter4 — versions < 4.2.7
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (Third Party Advisory, Mitigation)
- security-advisories@github.com (Exploit, Third Party Advisory, Issue Tracking)
- security-advisories@github.com (Patch, Third Party Advisory)
- security-advisories@github.com (Technical Description, Third Party Advisory)
- security-advisories@github.com (Technical Description, Third Party Advisory)
- security-advisories@github.com (Technical Description, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-39284?
- CVE-2022-39284 is a low-severity vulnerability in Codeigniter, classified under Improper Initialization. CVSS score: 2.6/10. Published 2022-10-06.
- How severe is CVE-2022-39284?
- Low severity. CVSS v3 base score is 2.6 out of 10.
- Is CVE-2022-39284 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.