6.3Medium
CVE-2025-2690yiisoft Yii2 MockClass.php generate deserialization
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| yiiframework | yii | 2.0.0 – ≤ 2.0.39 | |
| 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, 2.0.20, 2.0.21, 2.0.22, 2.0.23, 2.0.24, 2.0.25, 2.0.26, 2.0.27, 2.0.28, 2.0.29, 2.0.30, 2.0.31, 2.0.32, 2.0.33, 2.0.34, 2.0.35, 2.0.36, 2.0.37, 2.0.38, 2.0.39 |
References and patches
- VDB-300711 | yiisoft Yii2 MockClass.php generate deserialization vdb-entrytechnical-descriptionVDB Entry
- VDB-300711 | CTI Indicators (IOB, IOC, IOA) signatureVDB Entry
- Submit #521718 | Yii Software LLC Yii 2.0 <=2.0.39 Deserialization third-party-advisoryThird Party AdvisoryVDB Entry
- https://github.com/gaorenyusi/gaorenyusi/blob/main/Yii2-2.md exploitExploitThird Party Advisory
CPE matches (NVD) (1)
cpe:2.3:a:yiiframework:yii:*:*:*:*:*:*:*:*≥ 2.0.0 ≤ 2.0.39