GHSA-cwhm-272p-3wj9

Suggest an improvement
Source
https://github.com/advisories/GHSA-cwhm-272p-3wj9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-cwhm-272p-3wj9/GHSA-cwhm-272p-3wj9.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-cwhm-272p-3wj9
Aliases
Published
2022-05-14T03:45:23Z
Modified
2024-04-24T18:56:59.027557Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Yii Framework Cross-Site Request Forgery (CSRF)
Details

In Yii Framework 2.x before 2.0.14, the switchIdentity function in web/User.php did not regenerate the CSRF token upon a change of identity.

Database specific
{
    "nvd_published_at": "2018-01-22T22:29:00Z",
    "cwe_ids": [
        "CWE-352"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-24T18:32:29Z"
}
References

Affected packages

Packagist / yiisoft/yii2

Package

Name
yiisoft/yii2
Purl
pkg:composer/yiisoft/yii2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0
Fixed
2.0.14

Affected versions

2.*

2.0.0-alpha
2.0.0-beta
2.0.0-rc
2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.0.7
2.0.8
2.0.9
2.0.10
2.0.11
2.0.11.1
2.0.11.2
2.0.12
2.0.12.1
2.0.12.2
2.0.13
2.0.13.1
2.0.13.2
2.0.13.3

Packagist / yiisoft/yii2-dev

Package

Name
yiisoft/yii2-dev
Purl
pkg:composer/yiisoft/yii2-dev

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0
Fixed
2.0.14

Affected versions

2.*

2.0.0-alpha
2.0.0-beta
2.0.0-rc
2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.0.7
2.0.8
2.0.9
2.0.10
2.0.11
2.0.11.1
2.0.11.2
2.0.12
2.0.12.1
2.0.12.2
2.0.13
2.0.13.1
2.0.13.2
2.0.13.3