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

Read the record on cve.org

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

CVSSScoreVectorSource
4.05.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:NVulDB
3.16.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LVulDB
3.06.3 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LVulDB
2.06.5 MediumAV:N/AC:L/Au:S/C:P/I:P/A:PVulDB

Weaknesses

Affected Products

ProductVersions
Yii2yiisoft
  • 2.0.0Affected
  • 2.0.1Affected
  • 2.0.2Affected
  • 2.0.3Affected
  • 2.0.4Affected
  • 2.0.5Affected
  • 2.0.6Affected
  • 2.0.7Affected
  • 2.0.8Affected
  • 2.0.9Affected
  • 2.0.10Affected
  • 2.0.11Affected
  • 2.0.12Affected
  • 2.0.13Affected
  • 2.0.14Affected
  • 2.0.15Affected
  • 2.0.16Affected
  • 2.0.17Affected
  • 2.0.18Affected
  • 2.0.19Affected
  • 2.0.20Affected
  • 2.0.21Affected
  • 2.0.22Affected
  • 2.0.23Affected
  • 2.0.24Affected
  • and 15 more versions

References

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.