CVE-2024-4990
9.1
CRITICAL · CVSS 3.1 · EPSS 80.2% (pctl 100)
Patch early
EPSS 80.2% — above the 10% action threshold.
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.
Scoring
| CVSS | 9.1 (CRITICAL, v3.1) |
|---|---|
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |
| EPSS | 80.23% — more likely to be exploited than 100% of all CVEs |
| Weakness | CWE-470 |
| On CISA KEV | no |
| Public exploit | none known |
| Published | 2025-03-20 |
| Last modified | 2026-06-17 |
Affected (1)
| Vendor | Product |
|---|---|
| yiiframework | yii |
References
→ the Explorer · watch your stack · NVD