CVE-2021-23420

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:codeception:codeception:*:*:*:*:*:*:*:*
cpe:2.3:a:codeception:codeception:*:*:*:*:*:*:*:*

History

19 Aug 2021, 19:42

Type Values Removed Values Added
References (MISC) https://github.com/JinYiTong/poc - (MISC) https://github.com/JinYiTong/poc - Exploit, Third Party Advisory
References (MISC) https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585 - (MISC) https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585 - Third Party Advisory
References (MISC) https://github.com/Codeception/Codeception/pull/6241 - (MISC) https://github.com/Codeception/Codeception/pull/6241 - Patch, Third Party Advisory
References (MISC) https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php%23L52 - (MISC) https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php%23L52 - Broken Link
CPE cpe:2.3:a:codeception:codeception:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 10.0
v3 : 9.8
CWE CWE-502

11 Aug 2021, 13:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-08-11 13:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-23420

Mitre link : CVE-2021-23420

CVE.ORG link : CVE-2021-23420


JSON object : View

Products Affected

codeception

  • codeception
CWE
CWE-502

Deserialization of Untrusted Data