CVE-2022-43634
This vulnerability allows remote attackers to execute arbitrary code on affected installations of Netatalk. Authentication is not required to exploit this vulnerability. The specific flaw exists within the dsi_writeinit function. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-17646.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | netatalk | Fixed | 3.1.12~ds-9ubuntu0.22.04.1 | UBUNTU-CVE-2022-43634 |
| Ubuntu 20.04 | netatalk | Fixed | 3.1.12~ds-4ubuntu0.20.04.1 | UBUNTU-CVE-2022-43634 |
| Ubuntu 18.04 | netatalk | Fix pending | UBUNTU-CVE-2022-43634 | |
| Ubuntu 16.04 | netatalk | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2022-43634 | |
| Ubuntu 14.04 | netatalk | Fix pending | UBUNTU-CVE-2022-43634 | |
| Debian 14 | netatalk | Fixed | 3.1.15~ds-1 | DEBIAN-CVE-2022-43634 |
| Debian 13 | netatalk | Fixed | 3.1.15~ds-1 | DEBIAN-CVE-2022-43634 |
| Alpine Linux 3.24 | netatalk | Fixed | 3.1.15-r0 | ALPINE-CVE-2022-43634 |
| Alpine Linux 3.23 | netatalk | Fixed | 3.1.15-r0 | ALPINE-CVE-2022-43634 |
| Alpine Linux 3.22 | netatalk | Fixed | 3.1.15-r0 | ALPINE-CVE-2022-43634 |
| Alpine Linux 3.21 | netatalk | Fixed | 3.1.15-r0 | ALPINE-CVE-2022-43634 |
| Alpine Linux 3.20 | netatalk | Fixed | 3.1.15-r0 | ALPINE-CVE-2022-43634 |
| Alpine Linux 3.19 | netatalk | Fixed | 3.1.15-r0 | ALPINE-CVE-2022-43634 |
| Alpine Linux 3.18 | netatalk | Fixed | 3.1.15-r0 | ALPINE-CVE-2022-43634 |
| Alpine Linux 3.17 | netatalk | Fixed | 3.1.15-r0 | ALPINE-CVE-2022-43634 |
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.
- Netatalk: affected: 3.1.13
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://www.debian.org/security/2023/dsa-5503 (vendor-advisory)
References
- https://www.zerodayinitiative.com/advisories/ZDI-23-094/
- https://github.com/Netatalk/Netatalk/pull/186
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZYWSGVA6WXREMB6PV56HAHKU7R6KPOP/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SG6WZW5LXFVH3P7ZVZRGHUVJEMEFKQLI/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GEAFLA5L2SHOUFBAGUXIF2TZLGBXGJKT/
- https://lists.debian.org/debian-lts-announce/2023/05/msg00018.html
- https://www.debian.org/security/2023/dsa-5503
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.