CVE-2018-8074: Yii Framework Code Injection

CVE-2018-8074 · Severity: low · CVSS 3 · Published 2022-05-24

Yii Framework Code Injection

Technologies: yiisoft/yii2-dev (Packagist). Vendors: Packagist.

Quick answers

Is CVE-2018-8074 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2018-8074 being exploited in the wild.
How severe is CVE-2018-8074?
Low severity, with a CVSS score of 3, published 24 May 2022.
Which products and versions are affected?
yiisoft/yii2-dev (Packagist) ECOSYSTEM:introduced=2.0.0,fixed=2.0.15; yiisoft/yii2-elasticsearch (Packagist) ECOSYSTEM:introduced=0,fixed=2.0.5.
Is there a fix for CVE-2018-8074?
Yes. yiisoft/yii2-dev (Packagist): upgrade to 2.0.15 or later; yiisoft/yii2-elasticsearch (Packagist): upgrade to 2.0.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2018-8074?
Check whether you run yiisoft/yii2-dev (Packagist) or yiisoft/yii2-elasticsearch (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • yiisoft/yii2-dev (Packagist): upgrade to 2.0.15 or later
    composer require yiisoft/yii2-dev:^2.0.15
  • yiisoft/yii2-elasticsearch (Packagist): upgrade to 2.0.5 or later
    composer require yiisoft/yii2-elasticsearch:^2.0.5

Affected products

  • yiisoft/yii2-dev (Packagist) ECOSYSTEM:introduced=2.0.0,fixed=2.0.15
  • yiisoft/yii2-elasticsearch (Packagist) ECOSYSTEM:introduced=0,fixed=2.0.5

Identifiers

  • CVE-2018-8074
  • GHSA-m2p5-fwp2-qcw2

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.