Netatalk 3.1.2 before 4.6.1 File Deletion Outside AFP Volume via Vetoed Directory Symlink
Netatalk 3.1.2 before 4.6.1 contains an improper link resolution vulnerability in delete_vetoed_files() in etc/afpd/filedir.c, which classifies directory entries with stat() and so recursively enters a veto-matching symbolic link to a directory, deleting every file in the link target. Authenticated AFP users on a volume with delete veto files enabled can create a veto-matching symlink to a directory outside the volume and delete its parent to remove files there with the privileges of the Netatalk service.