CVEfocus › CVE database › CVE-2021-31439

CVE-2021-31439

CVSS 8.8 HighEPSS 2.2% (higher than 83% of CVEs)Published 2021-05-21Updated 2024-08-03Assigner: zdi

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.

CWE-122

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

13Fixed
1Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04netatalkFixed3.1.12~ds-9ubuntu0.22.04.1UBUNTU-CVE-2021-31439
Ubuntu 20.04netatalkFixed3.1.12~ds-4ubuntu0.20.04.1UBUNTU-CVE-2021-31439
Ubuntu 16.04netatalkFix pending
Debian 14netatalkFixed3.1.13~ds-1DEBIAN-CVE-2021-31439
Debian 13netatalkFixed3.1.13~ds-1DEBIAN-CVE-2021-31439
Alpine Linux 3.24netatalkFixed3.1.13-r0ALPINE-CVE-2021-31439
Alpine Linux 3.23netatalkFixed3.1.13-r0ALPINE-CVE-2021-31439
Alpine Linux 3.22netatalkFixed3.1.13-r0ALPINE-CVE-2021-31439
Alpine Linux 3.21netatalkFixed3.1.13-r0ALPINE-CVE-2021-31439
Alpine Linux 3.20netatalkFixed3.1.13-r0ALPINE-CVE-2021-31439
Alpine Linux 3.19netatalkFixed3.1.13-r0ALPINE-CVE-2021-31439
Alpine Linux 3.18netatalkFixed3.1.13-r0ALPINE-CVE-2021-31439
Alpine Linux 3.17netatalkFixed3.1.13-r0ALPINE-CVE-2021-31439
Alpine Linux 3.16netatalkFixed3.1.13-r0ALPINE-CVE-2021-31439

What the vendor says

As published in the CVE record by zdi, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.