Deserialization in Codeception

CVE-2021-23420

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.

Vulnerability class: Insecure Deserialization

EPSS: 0.027 (84.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L.

Affected products

  • Codeception
  • N/a Codeception/codeception — versions 4.0.0, unspecified

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-23420?
CVE-2021-23420 is a high-severity vulnerability in Codeception, classified under Deserialization of Untrusted Data. CVSS score: 7.7/10. Published 2021-08-11.
How severe is CVE-2021-23420?
High severity. CVSS v3 base score is 7.7 out of 10.
Is CVE-2021-23420 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.