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-83j5
JSON: 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: about 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: Repository: https://github.com/yiisoft/yii2-gii
Blast Radius: 37.6

Affected Packages

packagist:yiisoft/yii2-gii
Dependent packages: 669
Dependent repositories: 18,891
Downloads: 13,995,144 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