🔍 CVE-2019-5021

9.8
CVSS Score
CRITICAL
2019-05-08
2026-06-17 02:37
✅ 완료

🇰🇷 한글 설명

v3.3 이후 버전의 공식 Alpine Linux Docker 이미지에서 root 사용자의 비밀번호가 NULL로 설정되어 있는 취약점이 발견되었습니다. 이 문제는 2015년 12월에 발생한 회귀 오류로 보이며, Linux PAM 등을 사용하는 시스템에서 root 계정에 비밀번호 없이 접근할 수 있는 위험을 초래합니다.

💡 쉬운 설명

Alpine Linux를 기반으로 만든 도커 이미지의 관리자(root) 비밀번호가 설정되어 있지 않은 상태입니다. 이로 인해 공격자가 비밀번호 입력 없이 관리자 권한을 탈취할 수 있습니다.

🇺🇸 원문 (English)

Versions of the Official Alpine Linux Docker images (since v3.3) contain a NULL password for the `root` user. This vulnerability appears to be the result of a regression introduced in December of 2015. Due to the nature of this issue, systems deployed using affected versions of the Alpine Linux container which utilize Linux PAM, or some other mechanism which uses the system shadow file as an authentication database, may accept a NULL password for the `root` user.

📍 영향받는 시스템

Official Alpine Linux Docker images (v3.3 and later)

⚔️ 공격 벡터

비밀번호 없이 root 계정으로 인증을 시도하여 시스템 권한 획득

🛡️ 대응 방법

최신 버전의 Alpine Linux 이미지를 사용하거나, 이미지 빌드 시 root 비밀번호를 반드시 설정해야 합니다.

🔧 검증 코드

출력된 root 행의 두 번째 필드(비밀번호 자리)가 비어 있거나 특수 기호가 없다면 취약한 상태입니다.

Shell / Script
docker run --rm alpine:latest shadowsum -s /etc/shadow | grep '^root:'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Docker