🔍 CVE-2026-50125

7.5
CVSS Score
HIGH
2026-09-17
2026-09-30 17:32
✅ 완료

🇰🇷 한글 설명

MKP(Model Context Protocol) 서버의 특정 버전에서 인증 없이 호출 가능한 get_resource 도구가 대용량 로그 요청을 처리할 때 메모리 제한 없이 데이터를 버퍼에 복사하는 취약점이 발견되었습니다. 공격자가 조작된 파라미터를 통해 대규모 로그 스트림을 요청하면 프로세스 메모리가 고갈되어 서비스 거부(DoS) 상태에 빠질 수 있습니다.

💡 쉬운 설명

해커가 특수한 요청을 보내 서버의 메모리를 순식간에 가득 채워 서버를 멈추게 만들 수 있는 문제입니다. 로그 데이터를 읽어오는 과정에서 크기 제한을 두지 않아 발생하는 현상입니다.

🇺🇸 원문 (English)

MKP is a Model Context Protocol server for Kubernetes. Prior to 0.4.1, cmd/server/main.go exposes the default HTTP endpoint and pkg/mcp/server.go registers the unauthenticated get_resource tool, which accepts attacker-controlled limitBytes and tailLines values for the pods logs subresource. buildPodLogOpts() in pkg/k8s/subresource.go parses those values as unbounded int64 parameters, and defaultGetPodLogs() copies the returned Kubernetes log stream through io.Copy into an in-memory bytes.Buffer without an application-side cap. A remote attacker who can reach the default port 8080 MCP endpoint and select a pod with sufficiently large accumulated logs can send one tools/call request that causes large allocations and additional response copies, while the request-frequency limiter does not constrain per-request volume. This can exhaust process memory, terminate the MKP server, and deny the MCP service; observed testing showed more than one GiB of RSS growth while handling a 128 MiB requested stream. This issue is fixed in version 0.4.1.

📍 영향받는 시스템

MKP (Model Context Protocol server for Kubernetes) 0.4.1 미만 버전

⚔️ 공격 벡터

8080 포트로 열려 있는 MCP 엔드포인트를 통해 인증 없이 조작된 limitBytes 및 tailLines 값을 포함한 도구 호출 요청 전송

🛡️ 대응 방법

MKP를 최신 보안 패치가 적용된 버전 0.4.1 이상으로 업데이트하십시오.

🔧 검증 코드

설치된 MKP의 버전을 확인하여 0.4.1 미만인지 확인합니다.

Shell / Script
go version && grep -r "version 0.4.1" . || echo "Check MKP version manually"

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

💻 영향받는 소프트웨어

IBM WebSphere Application Server