VulnerabilityModified
CVE-2021-23420
The RunProcess class can be leveraged as a gadget to run arbitrary commands on a system that is deserializing user input without validation.
CRITICAL 9.8EPSS 2.71%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (2.71%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 2.71% probability · 85th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-502
- Affected
- codeception/codeception
- Source
- report@snyk.io
References
- https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php%23L52Broken Link
- https://github.com/Codeception/Codeception/pull/6241Patch, Third Party Advisory
- https://github.com/JinYiTong/pocExploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585Third Party Advisory
- https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php%23L52Broken Link
- https://github.com/Codeception/Codeception/pull/6241Patch, Third Party Advisory
- https://github.com/JinYiTong/pocExploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.