ghsa-ggwg-cmwp-46r5
Vulnerability from github
Published
2025-04-10 03:31
Modified
2025-07-30 11:46
Severity ?
Summary
yiisoft/yii2 Mishandles the Attaching of Behavior Defined by a `__class` Array Key
Details

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.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "yiisoft/yii2"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.52"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2024-58136"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-424"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-04-10T20:26:18Z",
    "nvd_published_at": "2025-04-10T03:15:17Z",
    "severity": "CRITICAL"
  },
  "details": "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.",
  "id": "GHSA-ggwg-cmwp-46r5",
  "modified": "2025-07-30T11:46:44Z",
  "published": "2025-04-10T03:31:32Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-58136"
    },
    {
      "type": "WEB",
      "url": "https://github.com/yiisoft/yii2/pull/20232"
    },
    {
      "type": "WEB",
      "url": "https://github.com/yiisoft/yii2/pull/20232#issuecomment-2252459709"
    },
    {
      "type": "WEB",
      "url": "https://github.com/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/yiisoft/yii2"
    },
    {
      "type": "WEB",
      "url": "https://github.com/yiisoft/yii2/compare/2.0.51...2.0.52"
    },
    {
      "type": "WEB",
      "url": "https://sensepost.com/blog/2025/investigating-an-in-the-wild-campaign-using-rce-in-craftcms"
    },
    {
      "type": "WEB",
      "url": "https://www.yiiframework.com/news/709/please-upgrade-to-yii-2-0-52"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "yiisoft/yii2 Mishandles the Attaching of Behavior Defined by a `__class` Array Key"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…