Code injection via improper triple-quote escaping in AgentCore CLI Bedrock Agent import
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 0.14.2, 1.0.0-preview.9
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
Improper neutralization of triple-quote characters during Python code generation in AgentCore CLI before v0.14.2 might allow an authenticated remote threat actor to execute arbitrary code on AWS AgentCore Runtime under the imported agent's IAM execution role and on the local environment of another user in the same AWS account, via a crafted collaborationInstruction stored on a Bedrock Agent collaborator and later processed by that other user during agent import. To remediate this issue, users should upgrade to version 0.14.2.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- AWS AgentCore CLI
From 0.4.0 · through 0.14.1; From 0.3.0-preview.7.0 · through 1.0.0-preview.8
- @aws/agentcorenpm
From 0.4.0 · fixed in 0.14.2
- @aws/agentcorenpm
From 0.3.0-preview.7.0 · through 0.3.0-preview.9.0
- @aws/agentcorenpm
From 1.0.0-preview.1 · fixed in 1.0.0-preview.9