Advisory

GHSA-hhg2-g6h6-c266

Also known as: CVE-2018-7269

Summary

Yii SQL injection vulnerability

Details

The findByCondition function in framework/db/ActiveRecord.php in Yii 2.x before 2.0.15 allows remote attackers to conduct SQL injection attacks via a findOne() or findAll() call, unless a developer recognizes an undocumented need to sanitize array input.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-24 16:59 UTC
Modified
2024-04-24 18:57 UTC

Affected packages and fixes

yiisoft/yii2-dev

Packagist · All systems

Affected

  • introduced 0, fixed 2.0.12.1 (ecosystem)

Fixed versions

2.0.12.1

Fix

The export has no generic command for this ecosystem.

yiisoft/yii2-dev

Packagist · All systems

Affected

  • introduced 2.0.13, fixed 2.0.13.2 (ecosystem)

Fixed versions

2.0.13.2

Fix

The export has no generic command for this ecosystem.

yiisoft/yii2-dev

Packagist · All systems

Affected

  • introduced 2.0.14, fixed 2.0.15 (ecosystem)

Fixed versions

2.0.15

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