go-guerrilla crashes on a bare XCLIENT command (7-byte slice off-by-one panic)
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in github.com/phires/go-guerrilla 1.6.7-1.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| phires | <1.6.7-1 | ||
| go: github.com/phires/go-guerrilla | <1.6.7-1, =1.6.7 | 1.6.7-1 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket