We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-2690

yiisoft Yii2 MockClass.php generate deserialization



Description

EN DE

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.

Es wurde eine kritische Schwachstelle in yiisoft Yii2 bis 2.0.39 gefunden. Hiervon betroffen ist die Funktion Generate der Datei phpunit\src\Framework\MockObject\MockClass.php. Durch Manipulation mit unbekannten Daten kann eine deserialization-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk angegangen werden. Der Exploit steht zur öffentlichen Verfügung.

Reserved 2025-03-23 | Published 2025-03-24 | Updated 2025-03-24 | Assigner VulDB


MEDIUM: 5.3CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
MEDIUM: 6.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
MEDIUM: 6.3CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
6.5AV:N/AC:L/Au:S/C:P/I:P/A:P

Problem types

Deserialization

Improper Input Validation

Product status

2.0.0
affected

2.0.1
affected

2.0.2
affected

2.0.3
affected

2.0.4
affected

2.0.5
affected

2.0.6
affected

2.0.7
affected

2.0.8
affected

2.0.9
affected

2.0.10
affected

2.0.11
affected

2.0.12
affected

2.0.13
affected

2.0.14
affected

2.0.15
affected

2.0.16
affected

2.0.17
affected

2.0.18
affected

2.0.19
affected

2.0.20
affected

2.0.21
affected

2.0.22
affected

2.0.23
affected

2.0.24
affected

2.0.25
affected

2.0.26
affected

2.0.27
affected

2.0.28
affected

2.0.29
affected

2.0.30
affected

2.0.31
affected

2.0.32
affected

2.0.33
affected

2.0.34
affected

2.0.35
affected

2.0.36
affected

2.0.37
affected

2.0.38
affected

2.0.39
affected

Timeline

2025-03-23:Advisory disclosed
2025-03-23:VulDB entry created
2025-03-23:VulDB entry last update

Credits

gaorenyusi (VulDB User) reporter

References

vuldb.com/?id.300711 (VDB-300711 | yiisoft Yii2 MockClass.php generate deserialization) vdb-entry technical-description

vuldb.com/?ctiid.300711 (VDB-300711 | CTI Indicators (IOB, IOC, IOA)) signature permissions-required

vuldb.com/?submit.521718 (Submit #521718 | Yii Software LLC Yii 2.0 <=2.0.39 Deserialization) third-party-advisory

github.com/gaorenyusi/gaorenyusi/blob/main/Yii2-2.md exploit

cve.org (CVE-2025-2690)

nvd.nist.gov (CVE-2025-2690)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-2690

Support options

Helpdesk Chat, Email, Knowledgebase