← Back to browse · API

CVE-2024-4990

Severity
HIGH
CVSS
8.1
EPSS
0.79528
Risk score
60.23
CISA KEV
No
PoC
No
Published
2025-03-20
Modified
2025-03-20
First seen
2026-08-07
Aliases
EUVD-2024-2024, GHSA-CJCC-P67M-7QXM
Products
yiisoft:yiisoft/yii2 unspecified ≤latest
Sources
euvd EUVD-2024-2024

Description

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.

References