GHSA-4574-QV3W-FCMG

Vulnerability from github – Published: 2021-09-01 18:36 – Updated: 2021-08-30 19:17
VLAI?
Summary
Deserialization of Untrusted Data in codeception/codeception
Details

This affects the package codeception/codeception from 4.0.0 before 4.1.22 and before 3.1.3. The RunProcess class can be leveraged as a gadget to run arbitrary commands on a system that is deserializing user input without validation.

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "codeception/codeception"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.1.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "codeception/codeception"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.0.0"
            },
            {
              "fixed": "4.1.22"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2021-23420"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-502"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-30T19:17:39Z",
    "nvd_published_at": "2021-08-11T13:15:00Z",
    "severity": "CRITICAL"
  },
  "details": "This affects the package codeception/codeception from 4.0.0 before 4.1.22 and before 3.1.3. The RunProcess class can be leveraged as a gadget to run arbitrary commands on a system that is deserializing user input without validation.",
  "id": "GHSA-4574-qv3w-fcmg",
  "modified": "2021-08-30T19:17:39Z",
  "published": "2021-09-01T18:36:15Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23420"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Codeception/Codeception/pull/6241"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Codeception/Codeception/commit/802a108057d250ee563120eaa5365a519afc0a71"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Codeception/Codeception/commit/cbce9ea7f4664052fa1ac6b36f5b5a6dbd864d71"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Codeception/Codeception"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Codeception/Codeception/blob/4.1/CHANGELOG-4.x.md#4122"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php#L52"
    },
    {
      "type": "WEB",
      "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/codeception/codeception/CVE-2021-23420.yaml"
    },
    {
      "type": "WEB",
      "url": "https://github.com/JinYiTong/poc"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-4574-qv3w-fcmg"
    },
    {
      "type": "WEB",
      "url": "https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": " Deserialization of Untrusted Data in codeception/codeception"
}


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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…