CVE-2021-31439: debian debian_linux Heap-based Buffer Overflow
Vulnerability summary
CVE-2021-31439 is a high (CVSS 8.8) Heap-based Buffer Overflow vulnerability in debian debian_linux. EPSS estimates a 2.33% chance of exploitation in the next 30 days, higher than 83.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 6 · Related 2Timeline
- 21-05-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
7 scores · 4 sources · 3 versions- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
2.33%
Chance of exploitation in the next 30 days
Percentile
83%
Versus all other CVEs
30-day change
0.00 pp
From 2.33% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Debian2 products
- netatalk< 3.1.13~ds-1
- debian_linuxEOL10.0 | 11.0
Netatalk1 product
- netatalk< 3.1.13
Synology1 product
- diskstation_manager6.1.1-15101-4 | ≥ 6.2, < 6.2.3-25426-3
Ubuntu1 product
- netatalk< 3.1.12~ds-4ubuntu0.20.04.1 | < 3.1.12~ds-9ubuntu0.22.04.1
4 vendors · 5 products
References
10 links- www.synology.com/zh-hk/security/advisory/Synology_SA_20_26Vendor Advisory