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 ID: CVE-2024-4990
CVSS Base Severity: HIGH
CVSS Base Score: 8.1
CVSS Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor: yiisoft
Product: yiisoft/yii2
EPSS Score: 0.03% (probability of being exploited)
EPSS Percentile: 7.23% (scored less or equal to compared to others)
EPSS Date: 2025-04-18 (when was this score calculated)