🇰🇷 한글 설명
OpenTelemetry.OpAmp.Client에서 OpAMP 서버로부터 HTTP 응답을 받을 때 무제한 버퍼를 할당하여 메모리 고갈을 유발할 수 있는 취약점입니다. 공격자 제어 OpAMP 서버 또는 네트워크 중간자 공격을 통해 매우 큰 응답 바디를 전송하면 애플리케이션의 메모리가 소진될 수 있습니다. 0.2.0-alpha.1 버전 이상에서 수정되었습니다.
💡 쉬운 설명
OpenTelemetry 모니터링 도구의 클라이언트가 서버 응답 크기를 제한하지 않아서, 악의적인 서버가 막대한 데이터를 전송하면 메모리가 가득 차는 문제입니다. 이로 인해 애플리케이션이 응답 불가 상태(DoS)가 될 수 있습니다.
🇺🇸 원문 (English)
OpenTelemetry.OpAmp.Client is the OpAMP client for OpenTelemetry .NET. Prior to 0.2.0-alpha.1, when receiving responses from the OpAMP server over HTTP, the OpAMP client allocates an unbounded buffer to read all bytes from the server, with no upper-bound on the number of bytes consumed. This could cause memory exhaustion in the consuming application if the configured OpAMP server is attacker-controlled (or a network attacker can MitM the connection) and an extremely large body is returned in the response. This vulnerability is fixed in 0.2.0-alpha.1.
📍 영향받는 시스템
OpenTelemetry.OpAmp.Client .NET 라이브러리 0.2.0-alpha.1 이전 모든 버전
⚔️ 공격 벡터
OpAMP 서버 제어 또는 네트워크 중간자 공격을 통해 HTTP 응답 바디에 매우 큰 페이로드 전송
🛡️ 대응 방법
OpenTelemetry.OpAmp.Client를 0.2.0-alpha.1 이상으로 업그레이드
🔧 검증 코드
결과에서 OpenTelemetry.OpAmp.Client 버전이 0.2.0-alpha.1 이상이면 취약점이 수정됨, 이하이면 취약
grep -r 'OpenTelemetry.OpAmp.Client' *.csproj *.json 2>/dev/null | grep -i version