{"id":"GHSA-g7ph-8423-pf4j","summary":"Code execution in metagpt","details":"MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because RunCode.run_script() passes shell metacharacters to subprocess.Popen.","aliases":["CVE-2024-23750","PYSEC-2024-9"],"modified":"2024-02-16T08:22:47.281306Z","published":"2024-01-22T03:30:26Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-01-22T21:20:11Z","nvd_published_at":"2024-01-22T01:15:08Z","cwe_ids":["CWE-94"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23750"},{"type":"WEB","url":"https://github.com/geekan/MetaGPT/issues/731"},{"type":"PACKAGE","url":"https://github.com/geekan/MetaGPT"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/metagpt/PYSEC-2024-9.yaml"}],"affected":[{"package":{"name":"metagpt","ecosystem":"PyPI","purl":"pkg:pypi/metagpt"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.6.6"}]}],"versions":["0.1","0.3.0","0.4.0","0.5.0","0.5.1","0.5.2","0.6.0","0.6.1","0.6.2","0.6.3","0.6.4","0.6.5","0.6.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-g7ph-8423-pf4j/GHSA-g7ph-8423-pf4j.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}