Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS0zbXBnLXEyNmotODNqNc4AAxHH
Command injection in yiisoft/yii2-gii
Yii Yii2 Gii before 2.2.2 allows remote attackers to execute arbitrary code via the Generator.php messageCategory field. The attacker can embed arbitrary PHP code into the model file.
Permalink: https://github.com/advisories/GHSA-3mpg-q26j-83j5JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS0zbXBnLXEyNmotODNqNc4AAxHH
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 1 year ago
Updated: over 1 year ago
CVSS Score: 8.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-3mpg-q26j-83j5, CVE-2020-36655
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-36655
- https://github.com/yiisoft/yii2-gii/issues/433
- https://lab.wallarm.com/yii2-gii-remote-code-execution/
- https://github.com/yiisoft/yii2-gii/commit/ed61e0d85f43e23f79d7c9d1b4e5e5c09a32ce4b
- https://github.com/advisories/GHSA-3mpg-q26j-83j5
Blast Radius: 37.6
Affected Packages
packagist:yiisoft/yii2-gii
Dependent packages: 675Dependent repositories: 18,891
Downloads: 14,792,332 total
Affected Version Ranges: < 2.2.2
Fixed in: 2.2.2
All affected versions: 2.0.0, 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.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.2.0, 2.2.1
All unaffected versions: 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6