Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. yiisoft/yii2
  4. ›
  5. CVE-2020-15148

CVE-2020-15148: Deserialization of Untrusted Data

September 15, 2020 (updated January 7, 2021)

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.

References

  • github.com/advisories/GHSA-699q-wcff-g9mj
  • github.com/yiisoft/yii2/commit/9abccb96d7c5ddb569f92d1a748f50ee9b3e2b99
  • github.com/yiisoft/yii2/security/advisories/GHSA-699q-wcff-g9mj
  • nvd.nist.gov/vuln/detail/CVE-2020-15148

Code Behaviors & Features

Detect and mitigate CVE-2020-15148 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.0.38

Fixed versions

  • 2.0.38

Solution

Upgrade to version 2.0.38 or above.

Impact 10 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/yiisoft/yii2/CVE-2020-15148.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:14 +0000.