🔍 CVE-2024-42363

8.8
CVSS Score
HIGH
2024-08-20
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

Kubernetes::RoleVerificationsController의 role 파라미터가 YAML.load_stream으로 안전하지 않게 역직렬화되어 원격 코드 실행이 가능합니다. 공격자는 악의적인 YAML 페이로드를 삽입하여 서버에서 임의 코드를 실행할 수 있습니다.

💡 쉬운 설명

웹 애플리케이션이 사용자 입력을 검증 없이 실행 가능한 코드로 변환하는 문제입니다. 공격자는 이를 통해 서버를 완전히 장악할 수 있습니다.

🇺🇸 원문 (English)

Prior to 3385, the user-controlled role parameter enters the application in the Kubernetes::RoleVerificationsController. The role parameter flows into the RoleConfigFile initializer and then into the Kubernetes::Util.parse_file method where it is unsafely deserialized using the YAML.load_stream method. This issue may lead to Remote Code Execution (RCE). This vulnerability is fixed in 3385.

📍 영향받는 시스템

Ruby on Rails 기반 Kubernetes 관리 애플리케이션 버전 3385 미만

⚔️ 공격 벡터

role 파라미터에 악의적인 YAML 직렬화 객체를 삽입하여 RoleConfigFile 초기화 시 역직렬화 공격 수행

🛡️ 대응 방법

영향받는 애플리케이션을 버전 3385 이상으로 업그레이드

🔧 검증 코드

YAML.load_stream 사용과 RoleVerificationsController 존재 시 취약함. 해당 코드가 발견되면 즉시 업그레이드 필요

Shell / Script
grep -r 'YAML.load_stream' . 2>/dev/null && grep -r 'RoleVerificationsController' . 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Kubernetes