Netatalk 3.1.2 before 4.6.1 File Deletion Outside AFP Volume via Vetoed Directory Symlink
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Netatalknetatalk |
≥ 3.1.2, < 4.6.1→ 4.6.1 |
4.6.1 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com