SCA: security update for yiisoft/yii2 (GHSA-cjcc-p67m-7qxm)

critical Tenable Cloud Security Plugin ID 413943

Description

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

- In yiisoft/yii2 version 2.0.48, the base Component class contains a vulnerability where the `__set()`
magic method does not validate that the value passed is a valid Behavior class name or configuration. This
allows an attacker to instantiate arbitrary classes, passing parameters to their constructors and invoking
setter methods. Depending on the installed dependencies, various types of attacks are possible, including
the execution of arbitrary code, retrieval of sensitive information, and unauthorized access.
(CVE-2024-4990)

See Also

https://github.com/advisories/GHSA-cjcc-p67m-7qxm

Plugin Details

Severity: Critical

ID: 413943

Version: Revision 1.12

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 6/1/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7.4

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

CVSS Score Source: CVE-2024-4990

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 8.2

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/2/2024

Vulnerability Publication Date: 6/2/2024

Reference Information

CVE: CVE-2024-4990

cwe: CWE-470