Deserialization in Codeception
CVE-2021-23420
- CVSS v3
- 7.7 High
- Public exploits
- None known
- EPSS
- 0.027 · 86.4th percentile
- Published
- 2021-08-11
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.
Vulnerability class: Insecure Deserialization
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.027, 86.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Codeception
- Codeception/codeception — versions 4.0.0, unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (n0-traces/cve_monitor). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/JinYiTong/poc (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585 (Third Party Advisory)
- github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php#L52 (Broken Link)
- github.com/Codeception/Codeception/pull/6241 (Patch, Third Party Advisory)