CVE-2024-1880: OS Command Injection in MacOS Text-To-Speech Class in significant-gravitas/autogpt
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 TEXTTOSPEECHPROVIDER=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 Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-1880?
CVE-2024-1880 is classified as a high-severity vulnerability due to its potential for OS command injection.
How do I fix CVE-2024-1880?
To remediate CVE-2024-1880, upgrade the affected MacOSTTS class to version 0.5.1 or later.
What systems are affected by CVE-2024-1880?
CVE-2024-1880 affects the MacOS Text-To-Speech functionality in versions of the autogpt project up to v0.5.0.
What is the impact of exploiting CVE-2024-1880?
Exploiting CVE-2024-1880 could allow an attacker to execute arbitrary commands in the context of the affected application.
Is there a workaround for CVE-2024-1880?
Currently, the only recommended action for CVE-2024-1880 is to update to the patched version, as no workarounds are suggested.