geekan/metagpt · Security
Code execution in metagpt
- GHSA ID
- GHSA-g7ph-8423-pf4j
- CVE ID
- CVE-2024-23750
- Severity
- high
- Published
- Updated
- CVSS
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 8.8 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Description
MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because RunCode.run_script() passes shell metacharacters to subprocess.Popen.
CWEs
- CWE-94 · Improper Control of Generation of Code ('Code Injection')