GHSA-g84q-54hf-36rg

Suggest an improvement
Source
https://github.com/advisories/GHSA-g84q-54hf-36rg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-g84q-54hf-36rg/GHSA-g84q-54hf-36rg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-g84q-54hf-36rg
Aliases
Published
2024-09-11T15:31:12Z
Modified
2024-09-18T22:27:17.162017Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 9.3 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
AutoGPT bypass of the shell commands denylist settings
Details

A vulnerability in significant-gravitas/autogpt version 0.5.1 allows an attacker to bypass the shell commands denylist settings. The issue arises when the denylist is configured to block specific commands, such as whoami and /bin/whoami. An attacker can circumvent this restriction by executing commands with a modified path, such as /bin/./whoami, which is not recognized by the denylist.

References

Affected packages

PyPI / agpt

Package

Affected ranges

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

Affected versions

0.*

0.2.2