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.
Metrics
Affected Vendors & Products
References
History
No history.
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
Vulnrichment
No data.
NVD
Status : Modified
Published: 2022-10-06T20:15:35.560
Modified: 2024-11-21T07:17:57.370
Link: CVE-2022-39284
Redhat
No data.