Back
CVE-2021-23420Deserialization of Untrusted Data
- 7.7HighCVSS base score
- 2.7%Exploitation in 30 daysEPSS · top 14% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By snyk
- 7 months later
· 7 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | High7.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L/E:F/RL:O/RC:C |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 2.7% · top 14% of all CVEs (19 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.7.
Affected products
codeception/codeception
- affected 4.0.0 – < unspecified
- affected unspecified – < 4.1.22
- affected unspecified – < 3.1.3
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistcodeception/codeceptionGHSA-4574-qv3w-fcmg (opens in a new tab)
References
References4
- https://github.com/JinYiTong/poc (opens in a new tab)x_refsource_MISCx_transferred
- https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php%23L52 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/Codeception/Codeception/pull/6241 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-1967 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-4574-qv3w-fcmg (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-23420)Record last updated .