Is yiisoft/yii2-elasticsearch 2.0 vulnerable?

Composer · 8 releases from 2.0.0 to 2.0.7 · latest yiisoft/yii2-elasticsearch is 2.1.5 · checked 18 Nov 2026

No known advisories in the last release

yiisoft/yii2-elasticsearch 2.0.7, the last 2.0 release, has no known advisories. 1 advisory affects earlier 2.0.x releases, so update to 2.0.7.

Update within 2.0:composer require yiisoft/yii2-elasticsearch:^2.0.7

Is your project on an affected yiisoft/yii2-elasticsearch?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Fixed within 2.0.x, affecting earlier releases

  • HighCVE-2018-8074GHSA-m2p5-fwp2-qcw224 May 2022

    Yii Framework Code Injection

    Affected
    <2.0.5
    Fixed in
    2.0.5

Every yiisoft/yii2-elasticsearch 2.0.x release

Affected: 2.0.0 to 2.0.4. 2.0.5 and later are not affected. Latest yiisoft/yii2-elasticsearch: 2.1.5.

VersionKnown advisories
yiisoft/yii2-elasticsearch 2.0.7None
yiisoft/yii2-elasticsearch 2.0.6None
yiisoft/yii2-elasticsearch 2.0.5None
yiisoft/yii2-elasticsearch 2.0.4CVE-2018-8074
yiisoft/yii2-elasticsearch 2.0.3CVE-2018-8074
yiisoft/yii2-elasticsearch 2.0.2CVE-2018-8074
yiisoft/yii2-elasticsearch 2.0.1CVE-2018-8074
yiisoft/yii2-elasticsearch 2.0.0CVE-2018-8074

Which of your client projects are still on yiisoft/yii2-elasticsearch 2.0?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact yiisoft/yii2-elasticsearch version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other yiisoft/yii2-elasticsearch versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Composer registry. Refreshed daily.