{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-1880","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","state":"PUBLISHED","assignerShortName":"@huntr_ai","dateReserved":"2024-02-26T02:50:00.773Z","datePublished":"2024-06-06T18:39:43.516Z","dateUpdated":"2024-08-01T18:56:22.364Z"},"containers":{"cna":{"title":"OS Command Injection in MacOS Text-To-Speech Class in significant-gravitas/autogpt","providerMetadata":{"orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","shortName":"@huntr_ai","dateUpdated":"2024-06-06T18:39:43.516Z"},"descriptions":[{"lang":"en","value":"An OS command injection vulnerability exists in the MacOS Text-To-Speech class MacOSTTS of the significant-gravitas/autogpt project, affecting versions up to v0.5.0. The vulnerability arises from the improper neutralization of special elements used in an OS command within the `_speech` method of the MacOSTTS class. Specifically, the use of `os.system` to execute the `say` command with user-supplied text allows for arbitrary code execution if an attacker can inject shell commands. This issue is triggered when the AutoGPT instance is run with the `--speak` option enabled and configured with `TEXT_TO_SPEECH_PROVIDER=macos`, reflecting back a shell injection snippet. The impact of this vulnerability is the potential execution of arbitrary code on the instance running AutoGPT. The issue was addressed in version 5.1.0."}],"affected":[{"vendor":"significant-gravitas","product":"significant-gravitas/autogpt","versions":[{"version":"unspecified","lessThan":"5.1.0","status":"affected","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/4e742624-8771-4f3c-9634-3eaf33d6d58e"},{"url":"https://github.com/significant-gravitas/autogpt/commit/26324f29849967fa72c207da929af612f1740669"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command","cweId":"CWE-78"}]}],"source":{"advisory":"4e742624-8771-4f3c-9634-3eaf33d6d58e","discovery":"EXTERNAL"}},"adp":[{"affected":[{"vendor":"significant-gravitas","product":"autogpt","cpes":["cpe:2.3:a:significant-gravitas:autogpt:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"0.5.0","status":"affected"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-06T19:45:42.562476Z","id":"CVE-2024-1880","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-06T19:48:31.759Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-01T18:56:22.364Z"},"title":"CVE Program Container","references":[{"url":"https://huntr.com/bounties/4e742624-8771-4f3c-9634-3eaf33d6d58e","tags":["x_transferred"]},{"url":"https://github.com/significant-gravitas/autogpt/commit/26324f29849967fa72c207da929af612f1740669","tags":["x_transferred"]}]}]}}