CVE-2020-15148 in the critical feed json
Unsafe deserialization in Yii 2
published 6y ago modified 4mo ago also GHSA-699q-wcff-g9mj , EUVD-2020-0813
- cvss
- 8.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 77.5%
- EPSS 77.5% chance of exploitation in 30 days, percentile 99.5%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
Yii 2 (yiisoft/yii2) before version 2.0.38 is vulnerable to remote code execution if the application calls `unserialize()` on arbitrary user input. This is fixed in version 2.0.38. A possible workaround without upgrading is available in the linked advisory.
Patch / fix
Is CVE-2020-15148 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
77.54% chance of exploitation in the next 30 days, higher than 99.5% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Nuclei template Yii 2 < 2.0.38 - Remote Code Execution nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H |
| NVD | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 8.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | yiisoft/yii2 | <2.0.38 |
2.0.38 |
Affected products
- yiisoft yii2
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
github.com
/yiisoft/yii2/commit/9abccb96d7c5ddb569f92d1a748f50ee9b3e2b99
web, patch, third-party-advisory
-
github.com
/yiisoft/yii2/security/advisories/GHSA-699q-wcff-g9mj
web, mitigation, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-15148
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2/CVE-2020-15148.yaml
web
-
yiiframework.com
/news/303/yii-2-0-38
web
Sources
- CVE List CVE-2020-15148
- GitHub Advisory GHSA-699q-wcff-g9mj
- NVD CVE-2020-15148
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.