Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1oaGcyLWc2aDYtYzI2Ns4AAid-

Yii SQL injection vulnerability

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.

Permalink: https://github.com/advisories/GHSA-hhg2-g6h6-c266
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1oaGcyLWc2aDYtYzI2Ns4AAid-
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 2 years ago
Updated: 7 months ago


CVSS Score: 9.8
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Identifiers: GHSA-hhg2-g6h6-c266, CVE-2018-7269
References: Blast Radius: 15.3

Affected Packages

packagist:yiisoft/yii2-dev
Dependent packages: 32
Dependent repositories: 36
Downloads: 79,932 total
Affected Version Ranges: >= 2.0.14, < 2.0.15, >= 2.0.13, < 2.0.13.2, < 2.0.12.1
Fixed in: 2.0.15, 2.0.13.2, 2.0.12.1
All affected versions: 2.0.0, 2.0.1-1.1, 2.0.1-1.2, 2.0.14
All unaffected versions: 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.0.10, 2.0.11, 2.0.12, 2.0.13, 2.0.15, 2.0.16, 2.0.17, 2.0.18, 2.0.19, 2.0.20, 2.0.21, 2.0.22, 2.0.23, 2.0.24, 2.0.25, 2.0.26, 2.0.27, 2.0.28, 2.0.29, 2.0.30, 2.0.31, 2.0.32, 2.0.33, 2.0.34, 2.0.35, 2.0.36, 2.0.37, 2.0.38, 2.0.39, 2.0.40, 2.0.41, 2.0.42, 2.0.43, 2.0.44, 2.0.45, 2.0.46, 2.0.47, 2.0.48, 2.0.49, 2.0.50, 2.0.51