Advisory

GHSA-3mpg-q26j-83j5

Also known as: CVE-2020-36655

Summary

Command injection in yiisoft/yii2-gii

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-01-21 03:30 UTC
Modified
2025-04-02 22:49 UTC

Affected packages and fixes

yiisoft/yii2-gii

Packagist · All systems

Affected

  • introduced 0, fixed 2.2.2 (ecosystem)

Fixed versions

2.2.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences