HTTP/1 server crash due to MaxBytesReader header race in net/http
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| Go standard librarynet/http |
1.26.11 未満→ 1.26.11 1.27.0-0 以上 1.27.4 未満→ 1.27.4 |
1.26.11 1.27.4 |
| Gostdlib |
1.26.11 未満→ 1.26.11 1.27.0-0 以上 1.27.4 未満→ 1.27.4 |
1.26.11 1.27.4 |
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の記録です。修正版は配布版ごとに違うので、リンク先で確かめてください。
- Alpine Linux ALPINE-CVE-2026-97054 go 修正版あり
- BellSoft Alpaquita BELL-CVE-2026-97054 go 修正版あり
- Debian DEBIAN-CVE-2026-97054 golang-1.27, golang-1.26 修正版あり
- Ubuntu UBUNTU-CVE-2026-97054 golang-1.27, golang-1.26, golang-1.25 ほか 14 件 この記録に修正版の記載なし
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
For HTTP/1 servers, when MaxBytesReader's limit is exceeded, "Connection: close" header is automatically set without synchronization, which might race with another header being set explicitly in the server handler. As a result, an HTTP/1 server that utilizes MaxBytesReader or MaxBytesHandler can crash due to runtime panic if its handler reads the request body concurrently with writing the response header.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- patch go.dev
- report go.dev
- web groups.google.com
- web pkg.go.dev
- web nvd.nist.gov
- web github.com