GitHub Advisoryadvisory · Packagist

GHSA-ggwg-cmwp-46r5 yiisoft/yii2 Mishandles the Attaching of Behavior Defined by a `__class` Array Key

CRITICAL Published 2025-04-10 Modified 2025-10-22 Official page ↗
Aliases
CVE-2024-58136
Ecosystem
Packagist
Packages
yiisoft/yii2
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H/E:H
Weaknesses
CWE-424
Reviewed
2025-04-10

Affected packages

• Packagist yiisoft/yii2: < 2.0.52 → fixed in 2.0.52

Description

Yii 2 before 2.0.52 mishandles the attaching of behavior that is defined by an __class array key, a CVE-2024-4990 regression, as exploited in the wild in February through April 2025.

Related

Alias · CVE (1)

  • CVE-2024-58136 Yii 2 before 2.0.52 mishandles the attaching of behavior that is defined by an __class array key, a CVE-2024-4990 regression, as exploited… vulnerability

Weakness · CWE (1)

  • CWE-424 Improper Protection of Alternate Path weakness

References