CVE-2018-7269
Potential SQL injection in methods `yii\db\ActiveRecord::findOne()` and `::findAll()`
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA.
Beschreibung
The findByCondition function in framework/db/ActiveRecord.php in Yii 2.x before 2.0.15 allows remote attackers to conduct SQL injection attacks via a findOne() or findAll() call, unless a developer recognizes an undocumented need to sanitize array input.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| composer::GitHub Security Advisory Composer | yiisoft/yii2-dev | 2.0.12.1, 2.0.13.2, 2.0.15 |
| composer::PHP Security Advisories Database | yiisoft/yii2, yiisoft/yii2-dev | kein Fix angegeben |
Alle 3 Einträge aus 2 Quellen zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| composer::GitHub Security Advisory Composer | yiisoft/yii2-dev | 2.0.12.1, 2.0.13.2, 2.0.15 |
| composer::PHP Security Advisories Database | yiisoft/yii2 | kein Fix angegeben |
| composer::PHP Security Advisories Database | yiisoft/yii2-dev | kein Fix angegeben |
Referenzen
- http://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes/
- https://github.com/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2-dev/CVE-2018-7269.yaml
- https://github.com/yiisoft/yii2
- https://nvd.nist.gov/vuln/detail/CVE-2018-7269
- https://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes
- https://www.yiiframework.com/news/168/releasing-yii-2-0-15-and-database-extensions-with-security-fixes/