🇰🇷 한글 설명
AWS Bedrock AgentCore Python SDK 1.4.8 및 1.5.0 버전의 OpenTelemetry 계측 과정에서 민감한 사용자 콘텐츠가 의도치 않게 로그에 기록되는 취약점이 발견되었습니다. 이로 인해 CloudWatch Logs에 접근 권한이 있는 로컬 인증된 사용자가 필터링되지 않은 원본 프롬프트와 에이전트 응답을 열람할 수 있습니다.
💡 쉬운 설명
AI와 대화할 때 입력한 비밀스러운 내용이 시스템 기록(로그)에 그대로 저장되어 다른 사람이 볼 수 있는 문제입니다. 로그를 볼 수 있는 권한이 있다면 사용자의 질문과 답변 내용을 모두 훔쳐볼 수 있습니다.
🇺🇸 원문 (English)
AWS Bedrock AgentCore Python SDK is an open-source Python library that provides client tools for building AI agents on the Amazon Bedrock AgentCore platform.
Unintended logging of sensitive user content in the OpenTelemetry instrumentation in AWS Bedrock AgentCore Python SDK versions 1.4.8 and 1.5.0 might allow a local authenticated user with access to CloudWatch Logs to access raw user prompts and agent responses containing sensitive data via span attributes. The SDK wrote raw user prompts and complete agent responses into OpenTelemetry span attributes on every invocation without filtering or masking. These spans flow into the customer's aws/spans CloudWatch log group, exposing sensitive content to any principal with log read access.
We recommend you upgrade to version 1.5.1 or later. Users who ran affected versions should also review and purge sensitive content from their aws/spans CloudWatch log groups.
📍 영향받는 시스템
AWS Bedrock AgentCore Python SDK versions 1.4.8 and 1.5.0
⚔️ 공격 벡터
CloudWatch Logs에 접근 권한이 있는 로컬 인증된 사용자가 OpenTelemetry 스팬 속성을 통해 민감 데이터 탈취
🛡️ 대응 방법
SDK를 1.5.1 이상 버전으로 업그레이드하고, CloudWatch Logs(aws/spans) 내의 민감한 데이터를 삭제하십시오.
🔧 검증 코드
출력된 Version이 1.4.8 또는 1.5.0이면 취약한 상태이며, 1.5.1 이상이면 안전합니다.
pip show aws-bedrock-agentcore-python-sdk 2>/dev/null | grep -E 'Version'