bedrock-agentcore-starter-toolkit: Code injection via unencoded configuration values during Python code generation in Bedrock AgentCore Starter Toolkit agent import
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
Improper control of code generation in the agent import functionality of Amazon Bedrock AgentCore Starter Toolkit before 0.3.14 might allow an authenticated same-account actor to execute arbitrary code when a user imports and runs or deploys a Bedrock Agent, via crafted configuration values incorporated into generated Python source without safe literal encoding.
To remediate this issue, users should upgrade to version 0.3.14. Because this issue persists into generated source, upgrading alone is not sufficient: agents imported with an affected version must be re-imported with version 0.3.14 or later and their local and deployed output artifacts replaced.
Text from CVE List
Affected versions 1
- bedrock-agentcore-starter-toolkitaffected: 0.1.4 through 0.3.13CVE List