Vulnerability · Published May 21, 2021 · Assigned by zdi
CVE-2021-31439
High 8.8
In plain English
A high-severity heap buffer overflow in DiskStation Manager from Synology. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.3% (higher than 84% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | netatalk | 3.1.13-r0 | ALPINE-CVE-2021-31439 |
| Alpine:v3.21 | netatalk | 3.1.13-r0 | ALPINE-CVE-2021-31439 |
| Alpine:v3.22 | netatalk | 3.1.13-r0 | ALPINE-CVE-2021-31439 |
| Alpine:v3.23 | netatalk | 3.1.13-r0 | ALPINE-CVE-2021-31439 |
| Alpine:v3.24 | netatalk | 3.1.13-r0 | ALPINE-CVE-2021-31439 |
| Debian:13 | netatalk | 3.1.13~ds-1 | DEBIAN-CVE-2021-31439 |
| Debian:14 | netatalk | 3.1.13~ds-1 | DEBIAN-CVE-2021-31439 |
| Ubuntu:22.04:LTS | netatalk | 3.1.12~ds-9ubuntu0.22.04.1 | UBUNTU-CVE-2021-31439 |
| Ubuntu:22.04:LTS | netatalk | 3.1.12~ds-9ubuntu0.22.04.1 | USN-6146-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Synology | DiskStation Manager | 6.1.1-15101-4 |
Weakness: CWE-122 · Vector: CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H