{"id":"CVE-2021-23420","published":"2021-08-11T12:15:12Z","modified":"2024-09-16T17:33:12Z","title":"Deserialization of Untrusted Data","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02714,"percentile":0.86358,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/JinYiTong/poc","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585","tags":["x_refsource_MISC"]},{"url":"https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php%23L52","tags":["x_refsource_MISC"]},{"url":"https://github.com/Codeception/Codeception/pull/6241","tags":["x_refsource_MISC"]}],"priority":{"score":27.7,"factors":[{"name":"EPSS percentile","points":17.27},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.39}]},"affectedVersions":[{"vendor":"n/a","product":"codeception/codeception","versions":[">= 4.0.0, < unspecified",">= unspecified, < 4.1.22",">= unspecified, < 3.1.3"]}],"affected":[{"ecosystem":"Packagist","package":"codeception/codeception","vulnerableRanges":["<3.1.3",">=4.0.0, <4.1.22"],"patched":["3.1.3","4.1.22"],"from":["GHSA-4574-qv3w-fcmg"],"provenance":"source"}],"summary":{"text":"The Codeception testing framework package (codeception/codeception) contains a deserialization flaw in versions 4.0.0 before 4.1.22 and versions before 3.1.3, where its RunProcess class can serve as a gadget in a deserialization chain. An attacker who can get a system that deserializes user input without validation to process crafted data, without needing prior authentication, can cause it to run arbitrary commands, and the attack is noted as having high complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:29:40Z"},"euvd":{"id":"EUVD-2021-1967","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/JinYiTong/poc"]}