CVE-2025-2690
yiisoft Yii2 MockClass.php generate deserialization
- State
- Published
- Severity
- 5.3 Medium
- Published
- Mar 24, 2025
- Updated
- Mar 24, 2025
- Reserved
- Mar 23, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N | VulDB |
| 3.1 | 6.3 Medium | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | VulDB |
| 3.0 | 6.3 Medium | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | VulDB |
| 2.0 | 6.5 Medium | AV:N/AC:L/Au:S/C:P/I:P/A:P | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
Yii2yiisoft |
|
References
- VDB-300711 | yiisoft Yii2 MockClass.php generate deserializationvdb-entrytechnical-description
- VDB-300711 | CTI Indicators (IOB, IOC, IOA)signaturepermissions-required
- Submit #521718 | Yii Software LLC Yii 2.0 <=2.0.39 Deserializationthird-party-advisory
- https://github.com/gaorenyusi/gaorenyusi/blob/main/Yii2-2.mdexploit
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.