GHSA-q2qq-hmj6-3wpp - hickory-proto vulnerable to CPU exhaustion during message encoding due to O(n²)

📡 GitHub-Advisory · 2026-05-07

GHSA-q2qq-hmj6-3wpp - hickory-proto vulnerable to CPU exhaustion during message encoding due to O(n²)

CVE-2024-8508

GHSA-q2qq-hmj6-3wpp MEDIUM rust/hickory-proto

CVE:

During message encoding, hickory-proto's BinEncoder stores pointers to labels that are candidates for name compression in a Vec<(usize, Vec<u8>)>. The name compression logic then searches for matches with a linear scan.

A malicious message with many records can both introduce many candidate labels, and invoke this linear scan many times. This can amplify CPU exhaustion in DoS attacks.

This is similar to CVE-2024-8508.

Reporter

Qifan Zhang, Palo Alto Networks


📌 来源: GitHub-Advisory | 🆔 CVE-2024-8508 | 📅 2026-05-07

[!] CONTACT_CHANNELS

如需商务合作、技术咨询或漏洞反馈,请通过以下离岸节点联系作者。

> PING_AUTHOR (@A1RedTeam)