Vulnerability · Published Jan 22, 2024 · Assigned by mitre

CVE-2024-23750

High 8.8

In plain English

A high-severity code injection in the metagpt package (PyPI). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.8High
Exploit odds (30 days)1.0%top 38.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because RunCode.run_script() passes shell metacharacters to subprocess.Popen.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPImetagptno fix listedGHSA-g7ph-8423-pf4j
PyPImetagpt0.6.5PYSEC-2024-9

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

References