{"id":"UBUNTU-CVE-2022-0194","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 ad_addcomment 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 stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-15876. 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 ad_addcomment 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 stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root.]","modified":"2026-02-04T04:13:36.052095Z","published":"2022-03-21T08:36:00Z","related":["USN-6146-1"],"upstream":["CVE-2022-0194"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-0194"},{"type":"REPORT","url":"https://kb.cert.org/vince/comm/case/267/"},{"type":"REPORT","url":"https://sourceforge.net/p/netatalk/mailman/message/37628321/"},{"type":"REPORT","url":"https://netatalk.sourceforge.io/3.1/ReleaseNotes3.1.13.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6146-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-0194"}],"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_version":"2.2.2-1ubuntu2.2+esm2","binary_name":"netatalk"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0194.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_version":"2.2.5-1ubuntu0.2+esm2","binary_name":"netatalk"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0194.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_version":"2.2.6-1ubuntu0.18.04.2+esm2","binary_name":"netatalk"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0194.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_version":"3.1.12~ds-4ubuntu0.20.04.1","binary_name":"netatalk"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0194.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_version":"3.1.12~ds-9ubuntu0.22.04.1","binary_name":"netatalk"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-0194.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"}]}