go-guerrilla、XCLIENTコマンドの処理で遠隔からサービスが停止する脆弱性
Summary
Go-Guerrilla SMTP Daemonの1.6.7以前では、XCLIENTコマンドを引数なしで送られるとプログラムが異常終了し、SMTPデーモンが停止します。認証は不要で、xclient_on設定を有効にしている環境が対象です。修正版は1.6.7-1で提供されています。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Go-Guerrilla SMTP Daemonの1.6.7以前では、XCLIENTコマンドを引数なしで送られるとプログラムが異常終了し、SMTPデーモンが停止します。認証は不要で、xclient_on設定を有効にしている環境が対象です。修正版は1.6.7-1で提供されています。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| phiresgo-guerrilla | — | Not listed |
| Gogithub.com/phires/go-guerrilla |
< 1.6.7-1→ 1.6.7-1 |
1.6.7-1 |
Original description The description as published by the source.
Go-Guerrilla SMTP Daemon is a lightweight SMTP server written in Go. In 1.6.7 and earlier, according to the repository advisory's structured affected range, server.go defines the seven-byte cmdXCLIENT token, but the XCLIENT handler slices input[8:] after matching only that seven-byte verb, so a bare command causes an out-of-bounds panic in handleClient and terminates the daemon because that connection goroutine does not recover the panic. The issue is reachable by an unauthenticated client when the non-default xclient_on setting is enabled; no HELO command is required. The repository fix is present in version 1.6.7-1.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com