Advisory

GHSA-g7ph-8423-pf4j

Also known as: CVE-2024-23750, PYSEC-2024-9

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-01-22 03:30 UTC
Modified
2024-02-16 08:22 UTC

Affected packages and fixes

metagpt

PyPI · All systems

Affected

  • introduced 0, last affected 0.6.6 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences