🔍 CVE-2026-45713

7.5
CVSS Score
HIGH
2026-07-20
2026-10-24 20:10
✅ 완료

🇰🇷 한글 설명

Mailpit 1.30.0 미만 버전에서 SMTP 서버와 HTTP API의 데이터 크기 제한 설정이 제대로 적용되지 않는 취약점이 발견되었습니다. 공격자가 인증 없이 대용량 데이터를 전송할 경우, 메모리 사용량이 급격히 증가하여 시스템이 OOM(Out Of Memory)으로 인해 강제 종료될 수 있습니다.

💡 쉬운 설명

이메일 테스트 도구인 Mailpit에 너무 큰 데이터를 보내면 컴퓨터의 메모리를 순식간에 다 써버리게 만드는 버그입니다. 이로 인해 프로그램이 갑자기 꺼지거나 서버가 멈출 수 있습니다.

🇺🇸 원문 (English)

Mailpit is an email testing tool and API for developers. Prior to version 1.30.0, the Mailpit SMTP server has a Server.MaxSize int field that controls the maximum allowed DATA payload size, but the field is never assigned anywhere outside test code, leaving it at Go's zero value (0 ⇒ "no limit"). The same applies to the HTTP /api/v1/send endpoint, whose request body is decoded with json.NewDecoder(r.Body) and no http.MaxBytesReader. Because Mailpit's default listeners bind [::]:1025 (SMTP) and [::]:8025 (HTTP), with no authentication required on either, a single network-reachable attacker can push an arbitrarily large message into Mailpit and watch RAM consumption spike with a ~7-10× amplification factor (raw frame → enmime envelope tree → search-text index → zstd-encoded write to SQLite). Repeating the attack — or running it concurrently from multiple connections — drives the process to OOM-kill. Version 1.30.0 contains a patch.

📍 영향받는 시스템

Mailpit versions prior to 1.30.0

⚔️ 공격 벡터

인증이 필요 없는 SMTP(1025 포트) 또는 HTTP(8025 포트)를 통해 대용량 페이로드를 전송하여 메모리 고갈 유도

🛡️ 대응 방법

Mailpit을 1.30.0 이상의 최신 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전이 1.30.0 미만이면 취약한 상태이며, 1.30.0 이상이면 안전합니다.

Shell / Script
mailpit --version 2>/dev/null | grep -E '1\[\.\]30\.0'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

SQL Server