🔍 CVE-2021-33912

9.8
CVSS Score
CRITICAL
2022-01-19
2026-06-17 03:55
✅ 완료

🇰🇷 한글 설명

libspf2 1.2.11 미만 버전에서 4바이트 힙 기반 버퍼 오버플로 취약점이 발견되었습니다. 공격자가 조작된 SPF DNS 레코드를 포함한 이메일을 전송할 경우, 인증되지 않은 원격 공격자가 임의의 코드를 실행할 수 있습니다.

💡 쉬운 설명

이메일 주소의 진위 여부를 확인하는 프로그램(libspf2)에 오류가 있어, 특수한 이메일을 받으면 해커가 컴퓨터를 마음대로 조종할 수 있는 문제입니다. 해커가 가짜 정보를 담은 이메일을 보내는 것만으로도 공격이 가능합니다.

🇺🇸 원문 (English)

libspf2 before 1.2.11 has a four-byte heap-based buffer overflow that might allow remote attackers to execute arbitrary code (via an unauthenticated e-mail message from anywhere on the Internet) with a crafted SPF DNS record, because of incorrect sprintf usage in SPF_record_expand_data in spf_expand.c. The vulnerable code may be part of the supply chain of a site's e-mail infrastructure (e.g., with additional configuration, Exim can use libspf2; the Postfix web site links to unofficial patches for use of libspf2 with Postfix; older versions of spfquery relied on libspf2) but most often is not.

📍 영향받는 시스템

libspf2 1.2.11 미만 모든 버전

⚔️ 공격 벡터

조작된 SPF DNS 레코드가 포함된 이메일을 통한 원격 공격

🛡️ 대응 방법

libspf2를 1.2.11 이상 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 1.2.11보다 낮으면 취약한 상태입니다.

Shell / Script
dpkg -l | grep libspf2 2>/dev/null | awk '{print $3}'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Exim