SQL Injection Affecting yiisoft/yii2 package, versions <2.0.12.1>=2.0.13, <2.0.13.2>=2.0.14, <2.0.15


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-YIISOFTYII2-72107
  • published21 Mar 2018
  • disclosed20 Mar 2018
  • creditUnknown

Introduced: 20 Mar 2018

CVE-2018-7269  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade yiisoft/yii2 to version 2.0.13.2, 2.0.12.1, 2.0.15 or higher.

Overview

yiisoft/yii2 is a Yii Web Programming Framework.

Affected versions of thi spackage are vulnerable to SQL Injection in ActiveRecord shortcut methods findOne() and findAll() if input is not prepared properly.

CVSS Scores

version 3.1