{"id":"UBUNTU-CVE-2022-43634","details":"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.","modified":"2026-02-04T02:14:31.977637Z","published":"2023-03-29T19:15:00Z","related":["USN-6146-1"],"upstream":["CVE-2022-43634"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-43634"},{"type":"REPORT","url":"https://github.com/Netatalk/Netatalk/pull/186"},{"type":"REPORT","url":"https://www.zerodayinitiative.com/advisories/ZDI-23-094/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6146-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-43634"}],"affected":[{"package":{"name":"netatalk","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/netatalk@2.2.2-1ubuntu2.2+esm2?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.2-1ubuntu1","2.2.2-1ubuntu2","2.2.2-1ubuntu2.2","2.2.2-1ubuntu2.2+esm1","2.2.2-1ubuntu2.2+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"netatalk","binary_version":"2.2.2-1ubuntu2.2+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-43634.json"}},{"package":{"name":"netatalk","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/netatalk@2.2.5-1ubuntu0.2+esm2?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.5-1","2.2.5-1ubuntu0.2","2.2.5-1ubuntu0.2+esm1","2.2.5-1ubuntu0.2+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"netatalk","binary_version":"2.2.5-1ubuntu0.2+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-43634.json"}},{"package":{"name":"netatalk","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/netatalk@2.2.6-1ubuntu0.18.04.2+esm2?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.6-1","2.2.6-1ubuntu0.18.04.2","2.2.6-1ubuntu0.18.04.2+esm1","2.2.6-1ubuntu0.18.04.2+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"netatalk","binary_version":"2.2.6-1ubuntu0.18.04.2+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-43634.json"}},{"package":{"name":"netatalk","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/netatalk@3.1.12~ds-4ubuntu0.20.04.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.12~ds-4ubuntu0.20.04.1"}]}],"versions":["3.1.12~ds-3","3.1.12~ds-4"],"ecosystem_specific":{"binaries":[{"binary_name":"netatalk","binary_version":"3.1.12~ds-4ubuntu0.20.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-43634.json"}},{"package":{"name":"netatalk","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/netatalk@3.1.12~ds-9ubuntu0.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.12~ds-9ubuntu0.22.04.1"}]}],"versions":["3.1.12~ds-9","3.1.12~ds-9build1"],"ecosystem_specific":{"binaries":[{"binary_name":"netatalk","binary_version":"3.1.12~ds-9ubuntu0.22.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-43634.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"high"}]}