CVE-2022-39284
Codeigniter4's Secure or HttpOnly flag set in Config\Cookie is not reflected in Cookies issued
描述
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.
如何修補 CVE-2022-39284
要修補 CVE-2022-39284,請將受影響套件升級到下列已修補版本。
- —升級至 4.2.7 或更新版本
- —升級至 4.2.7 或更新版本
CVE-2022-39284 正在被利用嗎?
低 — EPSS 為 0.8%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- >= 4.0.0, < 4.2.7
- from 0, < 4.2.7
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | LOW2.6 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N |