cvedb.io
CVE-2024-4990
CRITICAL · CVSS 9.1
EPSS exploitation probability: 0%
Published 2025-03-20T10:15:32.603 · Last modified 2026-06-17T08:03:20.303

Summary

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.

Affected products

yiiframework — yii

Does this affect you?

Add your gear to cvedb and we'll alert you only when yiiframework ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.