Netatalk 2.1.0 before 4.6.0 Root File Deletion via Symlinked .AppleDouble in dbd
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Netatalknetatalk |
≥ 2.1.0, < 4.6.0→ 4.6.0 |
4.6.0 |
Original description The description as published by the source.
Netatalk 2.1.0 before 4.6.0 contains an improper link resolution vulnerability in check_addir() and read_addir() in bin/dbd/cmd_dbd_scanvol.c, which open and chdir() into a volume's .AppleDouble directory without rejecting a symbolic link and then unlink entries that have no matching file in the parent directory. Local users who can replace a .AppleDouble entry in a volume directory, for example through shell, SFTP, or NFS access to the same storage, can redirect dbd into an arbitrary directory so that a later repair-mode run by an administrator deletes files there with root privileges.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- web github.com
- web github.com