Hickory DNSにゾーンファイルの解析で強制終了される脆弱性
Summary
Hickory DNSの0.24.0以上0.26.2未満に、ゾーンファイルの解析処理で長い文字列を読むとプログラムが停止する脆弱性が見つかりました。信頼できないゾーンファイルを読み込む仕組みがあると、サービス妨害を受けるおそれがあります。修正版の0.26.2が公開されているので、0.26.2以降へ更新してください。
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.
Hickory DNSの0.24.0以上0.26.2未満に、ゾーンファイルの解析処理で長い文字列を読むとプログラムが停止する脆弱性が見つかりました。信頼できないゾーンファイルを読み込む仕組みがあると、サービス妨害を受けるおそれがあります。修正版の0.26.2が公開されているので、0.26.2以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| hickory-dnshickory-dns |
≥ 0.24.0, < 0.26.2→ 0.26.2 |
0.26.2 |
| crates.iohickory-proto |
≥ 0.24.0, < 0.26.2→ 0.26.2 |
0.26.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-123574 rust-hickory-proto Fix available
- Ubuntu UBUNTU-CVE-2026-123574 rust-hickory-proto No fixed version in this record
Original description The description as published by the source.
The zone file lexer read each token in a loop capped at 4,096 iterations, with an assert! on the loop counter as a safety bound. A single token long enough to reach that bound, for example a very long name or character string in a zone file, triggered the assertion and the parser panicked instead of returning the token or an error.
Code that parses zone files from an untrusted source can be made to panic, which is a denial of service.
The fix removes the iteration bound, so the lexer ends only when it reaches the end of a token or an error. It is in 0.26.2.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- advisory rustsec.org
- package crates.io
- web github.com
- web github.com