go-guerrilla crashes on a bare XCLIENT command (7-byte slice off-by-one panic)
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| go:github.com/phires/go-guerrilla | = 1.6.7 | 未提供 |
| go:github.com/phires/go-guerrilla | < 1.6.7-1 | 1.6.7-1 |
The defect ---------- Confirmed at HEAD. server.go: cmdXCLIENT = []byte("XCLIENT") is 7 bytes (line 78), so the dispatch match cmdXCLIENT.match(cmd) only guarantees len(input) >= 7. The handler then slices input[8:] (line 586): case sc.XClientOn && cmdXCLIENT.match(cmd): if toks := bytes.Split(input[8:], []byte{' '}); len(toks) > 0 { // line 586 A client sending the bare command XCLIENT (exactly 7 bytes) hits input[8:7] and panics runtime error: slice bounds out of range [8:7]. handleClient run…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー2026/11/20 23:42、GitHub Advisory Databaseが「go-guerrilla crashes on a bare XCLIENT command (7-byte slice off-by-one panic)」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「重要」(high) です。関連する技術: Go、GitHub。CVE: CVE-2026-115578。