🔍 CVE-2024-41129

4.4
CVSS Score
MEDIUM
2024-07-22
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

ops 라이브러리에서 Juju secret 콘텐츠가 CLI args로 전달되어 명령줄 히스토리에 노출되는 정보 유출 취약점입니다. Juju 3.0 이상에서 Juju secrets를 사용하면서 subprocess.CalledProcessError를 올바르게 처리하지 않는 charms에 영향을 미치며, ops 2.15.0에서 수정되었습니다.

💡 쉬운 설명

ops 라이브러리 사용 시 민감한 정보(secret)가 시스템 명령어 기록에 평문으로 남을 수 있습니다. 시스템에 접근 권한이 있는 사람이 이 정보를 볼 수 있어 보안 위험이 발생합니다.

🇺🇸 원문 (English)

The ops library is a Python framework for developing and testing Kubernetes and machine charms. The issue here is that ops passes the secret content as one of the args via CLI. This issue may affect any of the charms that are using: Juju (>=3.0), Juju secrets and not correctly capturing and processing `subprocess.CalledProcessError`. This vulnerability is fixed in 2.15.0.

📍 영향받는 시스템

ops 라이브러리 < 2.15.0 (Juju >= 3.0 사용하는 Kubernetes/머신 charms)

⚔️ 공격 벡터

로컬 시스템 접근 권한자가 명령어 히스토리 또는 프로세스 목록에서 secret 콘텐츠 노출 확인

🛡️ 대응 방법

ops 라이브러리를 2.15.0 이상으로 업그레이드

🔧 검증 코드

설치된 ops 버전이 2.15.0 이상이면 취약점이 해결됨

Shell / Script
pip show ops | grep -i version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Kubernetes