Description
A vulnerability, which was classified as critical, was found in yiisoft Yii2 up to 2.0.39. This affects the function Generate of the file phpunit\src\Framework\MockObject\MockClass.php. The manipulation leads to deserialization. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| yiisoft | Yii2 | 2.0.0; 2.0.1; 2.0.2; 2.0.3; 2.0.4; 2.0.5; 2.0.6; 2.0.7; 2.0.8; 2.0.9; 2.0.10; 2.0.11; 2.0.12; 2.0.13; 2.0.14; 2.0.15; 2.0.16; 2.0.17; 2.0.18; 2.0.19 |
References
- https://github.com/gaorenyusi/gaorenyusi/blob/main/Yii2-2.mdExploit, Third Party Advisory
- https://vuldb.com/?ctiid.300711Permissions Required, VDB Entry
- https://vuldb.com/?id.300711Permissions Required, VDB Entry
- https://vuldb.com/?submit.521718Third Party Advisory, VDB Entry
Timeline
- Published
- Mar 24, 2025
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed