{"id":"CVE-2025-2690","published":"2025-03-24T07:31:04Z","modified":"2025-03-24T12:14:34Z","title":"yiisoft Yii2 MockClass.php generate deserialization","vendor":"yiisoft","product":"Yii2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00677,"percentile":0.53209,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"},{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://vuldb.com/?id.300711","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.300711","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/?submit.521718","tags":["third-party-advisory"]},{"url":"https://github.com/gaorenyusi/gaorenyusi/blob/main/Yii2-2.md","tags":["exploit"]}],"priority":{"score":20.1,"factors":[{"name":"EPSS percentile","points":10.64},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"yiisoft","affectedVersions":[{"vendor":"yiisoft","product":"Yii2","versions":["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"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-24T12:12:44.235025Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-7898","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/gaorenyusi/gaorenyusi/blob/main/Yii2-2.md"]}