CVEvulnerability
CVE-2021-23420
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2021-08-11
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.7 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 10.0 HIGH — AV:N/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-502
Description
This affects the package codeception/codeception from 4.0.0 and before 4.1.22, 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.
Affected configurations
• codeception codeception (< 3.1.3)
• codeception codeception (>= 4.0.0 < 4.1.22)
Related
Weakness · CWE (1)
- CWE-502 Deserialization of Untrusted Data weakness
References
- https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php%23L52 Broken Link
- https://github.com/Codeception/Codeception/pull/6241 Patch, Third Party Advisory
- https://github.com/JinYiTong/poc Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585 Third Party Advisory
- https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php%23L52 Broken Link
- https://github.com/Codeception/Codeception/pull/6241 Patch, Third Party Advisory
- https://github.com/JinYiTong/poc Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585 Third Party Advisory