Buffer overflow in Netatalk
CVE-2021-31439
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Synology DiskStation Manager. Authentication is not required to exploit this vulnerablity. The specific flaw exists within the processing of DSI structures in Netatalk. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-12326.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.022, 82.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Netatalk
- Synology Diskstation Manager — versions 6.1.1-15101-4
- Synology Diskstation Manager
- Debian Linux — versions 10.0, 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, WinMin/Protocol-Vul). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.zerodayinitiative.com/advisories/ZDI-21-492/ (VDB Entry, Third Party Advisory)
- www.synology.com/zh-hk/security/advisory/Synology_SA_20_26 (Vendor Advisory)
- [debian-lts-announce] 20230516 [SECURITY] [DLA 3426-1] netatalk security update (mailing-list, Mailing List, Third Party Advisory)
- DSA-5503 (vendor-advisory, Third Party Advisory)
- GLSA-202311-02 (vendor-advisory, Third Party Advisory, Issue Tracking)