GHSA-g7ph-8423-pf4j

Suggest an improvement
Source
https://github.com/advisories/GHSA-g7ph-8423-pf4j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-g7ph-8423-pf4j/GHSA-g7ph-8423-pf4j.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-g7ph-8423-pf4j
Aliases
Published
2024-01-22T03:30:26Z
Modified
2024-01-29T19:15:50.491505Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2024-01-22T01:15:08Z",
    "cwe_ids": [
        "CWE-94"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-01-22T21:20:11Z"
}
References

Affected packages

PyPI / metagpt

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.6.6

Affected versions

0.*

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