CVE-2024-4990
Last modified
CVE-2024-4990 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 79.39% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Yiiframework | Yii | 2.0.48 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-4990?
How severe is CVE-2024-4990?
How do I fix CVE-2024-4990?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-49894In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-49895In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-49896In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49897In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49898In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49899In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49900In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2024-49901In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49902In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49903In the Linux kernel, the following vulnerability has been re…7
- CVE-2024-49904In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-49905In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-4990?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
