CVE-2024-4990

CVE-2024-4990 is a critical-severity vulnerability in Yiiframework Yii with a CVSS 3.x base score of 9.1. Its EPSS exploit-prediction score of 79% places it in the 100th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-470.

Key facts

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.

Frequently asked questions

What is CVE-2024-4990?
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.
How severe is CVE-2024-4990?
CVE-2024-4990 has a CVSS 3.x base score of 9.1, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability high.
Is CVE-2024-4990 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 79% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-4990?
CVE-2024-4990 affects Yiiframework Yii. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-4990?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
Does CVE-2024-4990 have an EU (EUVD) identifier?
Yes. CVE-2024-4990 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-2024.
When was CVE-2024-4990 published?
CVE-2024-4990 was published on 2025-03-20 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Yiiframework Yii

All CVEs affecting Yiiframework Yii →

Other CWE-470 (Unsafe Reflection) vulnerabilities

Browse all CWE-470 (Unsafe Reflection) vulnerabilities →