Summary
Vulnerability in Zephyrproject (CVE-2025-1675). Risk of unauthorized operations or information disclosure. Exploitable via dns_copy_qname.
Original description
The description as published by the source.
The function dns_copy_qname in dns_pack.c performs performs a memcpy operation with an untrusted field and does not check if the source buffer is large enough to contain the copied data.
Source: NIST National Vulnerability Database NVD
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
dns_pack.cの関数dns_copy_qnameは、コピー先のバッファが十分なサイズであるかを確認せず、信頼できないフィールドに対してmemcpy操作を行います。この無視された境界チェックにより、悪意のある攻撃者はバッファオーバーフローを引き起こす可能性があります。
dns_pack.cの関数dns_copy_qnameがバッファサイズを確認せずにmemcpy操作を行う。
dns_pack.c内のdns_copy_qname関数
バッファオーバーフローのリスクがあり、高い重大度の脆弱性。
信頼できないフィールドのサイズを検証し、境界チェックを追加する。詳細は提供されたパッチリンクを参照。
境界チェックが追加されるまで、この機能を無効にすることを検討。
dns_pack.c内のdns_copy_qname関数を確認し、境界チェックが欠如しているかを確認する。