CVE-2021-31439: Synology DiskStation Manager Netatalk dsi_doff Heap-based Buffer Overflow Remote Code Execution Vulnerability

Published Apr 29, 2021
·
Updated

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 Software

16 affected componentsFixes available
Synology DiskStation Manager>=6.2<6.2.3-25426-3
Synology DiskStation Manager>=6.2<6.2.3-25426-3
Debian Debian Linux=10.0
Debian Debian Linux=11.0
Netatalk Netatalk<3.1.13
Synology DiskStation Manager
debian/netatalk
4.2.3~ds-1+deb13u24.5.1~ds-1
alpine/netatalk<3.1.13-r0
3.1.13-r0
alpine/netatalk<3.1.13-r0
3.1.13-r0
alpine/netatalk<3.1.13-r0
3.1.13-r0
alpine/netatalk<3.1.13-r0
3.1.13-r0
alpine/netatalk<3.1.13-r0
3.1.13-r0
alpine/netatalk<3.1.13-r0
3.1.13-r0
alpine/netatalk<3.1.13-r0
3.1.13-r0
alpine/netatalk<3.1.13-r0
3.1.13-r0
alpine/netatalk<3.1.13-r0
3.1.13-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/netatalk to a version that resolves this vulnerability.

    Fixed in 4.2.3~ds-1+deb13u2Fixed in 4.5.1~ds-1
  2. Upgrade

    Upgrade alpine/netatalk to a version that resolves this vulnerability.

    Fixed in 3.1.13-r0

Event History

Apr 29, 2021
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software
May 21, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·03:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID for this Synology DiskStation Manager vulnerability?

The vulnerability ID for this Synology DiskStation Manager vulnerability is CVE-2021-31439.

2

How severe is CVE-2021-31439?

CVE-2021-31439 has a severity rating of 8.8 out of 10.

3

How can this vulnerability be exploited?

This vulnerability can be exploited by network-adjacent attackers to execute arbitrary code on affected installations of Synology DiskStation Manager.

4

Is authentication required to exploit CVE-2021-31439?

No, authentication is not required to exploit CVE-2021-31439.

5

What is the affected software in this vulnerability?

The affected software in this vulnerability is Synology DiskStation Manager.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203