Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-31439
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:21 UTC · Revision 1

Source evidence

CVE-2021-31439

core-osv · Original source

Published 21 May 2021, 15:15 UTC

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.

osv:CVE-2021-31439
Complete source record
{
  "id": "b34032ecab9ec8797897b8b9f14de0c3ba54342ae3ae7f9217c3c01386500849",
  "url": "https://osv.dev/vulnerability/CVE-2021-31439",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-31439",
    "summary": "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.",
    "evidence": "osv:CVE-2021-31439",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-31439",
      "aliases": [
        "CVE-2021-31439"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/netatalk/netatalk",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "8965445d8439dbe1b2821b783ae644da3ef600a1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:netatalk:netatalk:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.1.13"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "netatalk-3-1-12",
            "netatalk-3-1-11",
            "netatalk-3-1-10",
            "netatalk-3-1-9",
            "netatalk-3-1-8",
            "netatalk-3-1-7",
            "netatalk-3-1-6",
            "netatalk-3-1-5",
            "netatalk-3-1-4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31439.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:17.629652294Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2023/05/msg00018.html",
        "https://www.debian.org/security/2023/dsa-5503",
        "https://www.synology.com/zh-hk/security/advisory/Synology_SA_20_26",
        "https://www.zerodayinitiative.com/advisories/ZDI-21-492/",
        "https://security.gentoo.org/glsa/202311-02"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:synology:diskstation_manager:*:*:*:*:*:*:*:*"
            ],
            "vendor_product": "synology:diskstation_manager",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "6.2"
                  },
                  {
                    "fixed": "6.2.3-25426-3"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  },
                  {
                    "introduced": "11.0"
                  },
                  {
                    "last_affected": "11.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-31439",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429604,
  "published_at": "2021-05-21T15:15:07.707+00:00"
}