Netatalkに認証済みのクライアントから任意のコードを実行されるおそれのある脆弱性
Summary
Netatalkのafpd(Spotlight RPCの応答処理)に、ヒープバッファオーバーフローの脆弱性が見つかりました。認証済みのAFPクライアントが細工した要求を送ると、DSIの応答バッファの外側のヒープ領域に書き込まれるおそれがあります。影響を受けるのは3.1.0から4.5.1までのバージョンで、修正版は4.5.1です。
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.
Netatalkのafpd(Spotlight RPCの応答処理)に、ヒープバッファオーバーフローの脆弱性が見つかりました。認証済みのAFPクライアントが細工した要求を送ると、DSIの応答バッファの外側のヒープ領域に書き込まれるおそれがあります。影響を受けるのは3.1.0から4.5.1までのバージョンで、修正版は4.5.1です。
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-62321 netatalk Fix available
- Ubuntu UBUNTU-CVE-2026-62321 netatalk No fixed version in this record
Original description The description as published by the source.
Netatalk is a Free and Open Source file server suite for Unix-like operating systems. From 3.1.0 until 4.5.1, the afpd Spotlight RPC fetchQueryResultsForContext: reply path in etc/afpd/spotlight_marshalling.c calls the top-level sl_pack function from sl_pack_filemeta on a shifted sub-buffer without passing the remaining capacity of the outer DSI reply buffer. An authenticated AFP client can request an amplified nested file-metadata tree so the nested packer applies MAX_SLQ_DAT relative to the shifted pointer and writes beyond struct DSI::data. The out-of-bounds write corrupts heap memory beyond the DSI reply buffer. This issue is fixed in version 4.5.1.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com