Deserialization in Codeception
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.
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.
EPSS exploit prediction
EPSS: 0.027 (85.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 85.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.027 · newest: 0.027 · change: 0.000
Affected products
- Codeception
- Codeception/codeception — versions 4.0.0, unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
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)
Frequently asked questions
- What is CVE-2021-23420?
- CVE-2021-23420 is a high-severity vulnerability in Codeception, classified under Deserialization of Untrusted Data. CVSS score: 7.7/10. Published 2021-08-11.
- How severe is CVE-2021-23420?
- High severity. CVSS v3 base score is 7.7 out of 10.
- Is CVE-2021-23420 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.