Advisory

GHSA-cr6r-6xm9-ww22

Also known as: CVE-2018-20745

Summary

Yii Incorrectly Implements CORS

Details

Yii 2.x through 2.0.15.1 actively converts a wildcard CORS policy into reflecting an arbitrary Origin header value, which is incompatible with the CORS security design, and could lead to CORS misconfiguration security problems.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-14 01:33 UTC
Modified
2024-02-16 08:04 UTC

Affected packages and fixes

yiisoft/yii2

Packagist · All systems

Affected

  • introduced 0, fixed 2.0.16 (ecosystem)

Fixed versions

2.0.16

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