CVE-2021-23420
7.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
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | codeception/codeception | 4.0.0 < unspecified | affected |
| n/a | codeception/codeception | unspecified < 4.1.22 | affected |
| n/a | codeception/codeception | unspecified < 3.1.3 | affected |
Weaknesses
- Deserialization of Untrusted Data
ADP Enrichment
CVE Program Container
Additional References
- https://github.com/JinYiTong/poc
- https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585
- https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php%23L52
- https://github.com/Codeception/Codeception/pull/6241
References
- https://github.com/JinYiTong/poc
- https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585
- https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php%23L52
- https://github.com/Codeception/Codeception/pull/6241
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.