SCA: security update for codeigniter4/framework (GHSA-745p-r637-7vvp)

medium Tenable Cloud Security Plugin ID 411791

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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)

See Also

https://github.com/advisories/GHSA-745p-r637-7vvp

Plugin Details

Severity: Medium

ID: 411791

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3.1

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:N/A:N

CVSS Score Source: CVE-2022-39284

CVSS v3

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/6/2022

Vulnerability Publication Date: 10/6/2022

Reference Information

CVE: CVE-2022-39284