Vulnerability

CVE-2024-4990

criticalCVSS 3.1 9.1Published 20 Mar 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Yiiframework yii

Weakness type

References

  • huntr.com /bounties/4fbdd965-02b6-42e4-b57b-f98f93415b8f

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning