Medium severity · published Jul 13, 2023
CVE-2023-37275
System logs spoofable in Auto-GPT via ANSI control sequences
4.3
CVSS
0.4%
EPSS
No
On KEV
Description
Auto-GPT is an experimental open-source application showcasing the capabilities of the GPT-4 language model. The Auto-GPT command line UI makes heavy use of color-coded print statements to signify different types of system messages to the user, including messages that are crucial for the user to review and control which commands should be executed. Before v0.4.3, it was possible for a malicious external resource (such as a website browsed by Auto-GPT) to cause misleading messages to be printed to the console by getting the LLM to regurgitate JSON encoded ANSI escape sequences (`\u001b[`). These escape sequences were JSON decoded and printed to the console as part of the model's "thinking process". The issue has been patched in release version 0.4.3.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 38% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AU
Auto-GPT · Significant-Gravitas
< 0.4.3 · source: vendor
AC
Autogpt Classic · Agpt
before 0.4.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-37275
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-37275
Patch
https://github.com/Significant-Gravitas/Auto-GPT/pull/4810
Patch
https://github.com/Significant-Gravitas/Auto-GPT/security/advisories/GHSA-r7f7-qrrv-3fjh
More from Auto-GPT
8.8
CVE-2023-37273
Docker escape in Auto-GPT when running from docker-compose.yml included in git repo
7.8
CVE-2023-37274
Python code execution sandbox escape in non-docker version in Auto-GPT
