Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTQ1NzQtcXYzdy1mY21n
Deserialization of Untrusted Data in codeception/codeception
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.
Permalink: https://github.com/advisories/GHSA-4574-qv3w-fcmgJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTQ1NzQtcXYzdy1mY21n
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 3 years ago
Updated: 10 months ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-4574-qv3w-fcmg, CVE-2021-23420
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-23420
- https://github.com/Codeception/Codeception/pull/6241
- https://github.com/Codeception/Codeception/commit/802a108057d250ee563120eaa5365a519afc0a71
- https://github.com/Codeception/Codeception/commit/cbce9ea7f4664052fa1ac6b36f5b5a6dbd864d71
- https://github.com/Codeception/Codeception/blob/4.1/CHANGELOG-4.x.md#4122
- https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php#L52
- https://github.com/JinYiTong/poc
- https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585
- https://github.com/FriendsOfPHP/security-advisories/blob/master/codeception/codeception/CVE-2021-23420.yaml
- https://github.com/advisories/GHSA-4574-qv3w-fcmg
Blast Radius: 41.5
Affected Packages
packagist:codeception/codeception
Dependent packages: 3,110Dependent repositories: 17,322
Downloads: 66,847,926 total
Affected Version Ranges: < 3.1.3, >= 4.0.0, < 4.1.22
Fixed in: 3.1.3, 4.1.22
All affected versions: 1.0.9, 1.0.10, 1.0.11, 1.0.12, 1.0.13, 1.0.14, 1.1.0, 1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