{"id":"CVE-2021-23420","state":"PUBLISHED","title":"Deserialization of Untrusted Data","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.","publishedAt":"2021-08-11T12:15:12.647Z","updatedAt":"2024-09-16T17:33:12.400Z","severity":{"score":7.7,"label":"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","source":"snyk"},"assigner":"snyk","products":["n/a codeception/codeception"],"affected":[{"vendor":"n/a","product":"codeception/codeception","versions":[{"version":"4.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"4.1.22","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"3.1.3","versionType":"custom"}]}],"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"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:04.982Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/23xxx/CVE-2021-23420.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-23420","state":"PUBLISHED","datePublished":"2021-08-11T12:15:12.647Z","dateUpdated":"2024-09-16T17:33:12.400Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2021-01-08T00:00:00.000Z"},"containers":{"cna":{"title":"Deserialization of Untrusted Data","descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"codeception/codeception","versions":[{"version":"4.0.0","status":"affected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"4.1.22","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"3.1.3","versionType":"custom"}]}],"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"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","exploitCodeMaturity":"FUNCTIONAL","integrityImpact":"HIGH","privilegesRequired":"NONE","remediationLevel":"OFFICIAL_FIX","reportConfidence":"CONFIRMED","scope":"UNCHANGED","temporalScore":7.1,"temporalSeverity":"HIGH","userInteraction":"NONE","vectorString":"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","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"Deserialization of Untrusted Data","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"snyk","dateUpdated":"2021-08-11T12:15:12.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730"},"credits":[{"lang":"en","value":"JinYiTong"}],"datePublic":"2021-08-11T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2021-08-11T12:13:10.471521Z","ID":"CVE-2021-23420","STATE":"PUBLIC","TITLE":"Deserialization of Untrusted Data"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"codeception/codeception","version":{"version_data":[{"version_affected":">=","version_value":"4.0.0"},{"version_affected":"<","version_value":"4.1.22"},{"version_affected":"<","version_value":"3.1.3"}]}}]},"vendor_name":"n/a"}]}},"credit":[{"lang":"eng","value":"JinYiTong"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":7.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"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","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Deserialization of Untrusted Data"}]}]},"references":{"reference_data":[{"name":"https://github.com/JinYiTong/poc","refsource":"MISC","url":"https://github.com/JinYiTong/poc"},{"name":"https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585","refsource":"MISC","url":"https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585"},{"name":"https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php%23L52","refsource":"MISC","url":"https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php%23L52"},{"name":"https://github.com/Codeception/Codeception/pull/6241","refsource":"MISC","url":"https://github.com/Codeception/Codeception/pull/6241"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/JinYiTong/poc","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://snyk.io/vuln/SNYK-PHP-CODECEPTIONCODECEPTION-1324585","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/Codeception/Codeception/blob/4.1/ext/RunProcess.php%23L52","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/Codeception/Codeception/pull/6241","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T19:05:56.067Z"}}]}}}