Unsafe Reflection in base Component class in yiisoft/yii2
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| yiisoft | yiisoft/yii2 | affected |
|
No data.
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-2024 | Unsafe Reflection in base Component class in yiisoft/yii2 |
Github GHSA |
GHSA-cjcc-p67m-7qxm | Unsafe Reflection in base Component class in yiisoft/yii2 |
No CVSS v4.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 80.1% (80.097% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Yiiframework
Yiiframework yii |
|
| CPEs | cpe:2.3:a:yiiframework:yii:2.0.48:*:*:*:*:*:*:* | |
| Vendors & Products |
Yiiframework
Yiiframework yii |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Unsafe Reflection in base Component class in yiisoft/yii2 | |
| Weaknesses | CWE-470 | |
| References |
| |
| Metrics |
cvssV3_0
|