HighGHSA-m2p5-fwp2-qcw2CVE-2018-8074

Yii Framework Code Injection

Published 24 May 2022 · Updated 16 Feb 2024

Affected packages

Affected
>=2.0.0 <2.0.15
Fixed in
2.0.15
Update to the fixed version for your release line, for example:composer require yiisoft/yii2-dev:^2.0.15
Affected
<2.0.5
Fixed in
2.0.5
Update to the fixed version for your release line, for example:composer require yiisoft/yii2-elasticsearch:^2.0.5

Details

Yii 2.x before 2.0.15 allows remote attackers to inject unintended search conditions via a variant of the CVE-2018-7269 attack in conjunction with the Elasticsearch extension.

Is GHSA-m2p5-fwp2-qcw2 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected yiisoft/yii2-dev, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.