HIGH8.1
GHSA-m2p5-fwp2-qcw2
Yii Framework Code Injection
Quick fix
GHSA-m2p5-fwp2-qcw2 — yiisoft/yii2-dev: upgrade to the fixed version with the command below.
composer require yiisoft/yii2-dev:^2.0.15Details
Yii 2.x before 2.0.15 allows remote attackers to inject unintended search conditions via a variant of the CVE-2018-7269 attack in conjunction with the Elasticsearch extension.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/yiisoft/yii2-dev
Introduced in:
2.0.0Fixed in: 2.0.15Fix
composer require yiisoft/yii2-dev:^2.0.15Packagist/yiisoft/yii2-elasticsearch
Introduced in:
0Fixed in: 2.0.5Fix
composer require yiisoft/yii2-elasticsearch:^2.0.5References
- https://nvd.nist.gov/vuln/detail/CVE-2018-8074[ADVISORY]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2-elasticsearch/CVE-2018-8074.yaml[WEB]
- https://github.com/yiisoft/yii2[PACKAGE]
- https://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes[WEB]
- http://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes[WEB]