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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2022-10-06T00:00:00

Updated: 2024-08-03T12:00:43.631Z

Reserved: 2022-09-02T00:00:00

Link: CVE-2022-39284

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-10-06T20:15:35.560

Modified: 2024-11-21T07:17:57.370

Link: CVE-2022-39284

cve-icon Redhat

No data.