CVE-2022-45188
High · 7.8CVSS
7.8
EPSS
0.6%
Published
Nov 12, 2022
CISA due date
—
Cloudanix analysis
A flaw in file-sharing software on some servers lets attackers take over the entire machine by sending a specially made file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Network Service
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Heap-based buffer overflow in afp_getappl triggered by a crafted .appl file allows arbitrary code execution with remote root privileges on platforms such as FreeBSD.
Why it matters to the business
Attackers can achieve full system compromise on affected servers including TrueNAS appliances, enabling data theft, ransomware deployment, or persistent unauthorized access across the environment.
How an attack unfolds
An attacker crafts a malicious .appl file with oversized data, delivers it to a target running the Netatalk AFP service, and induces the service to process the file, triggering the overflow to execute attacker-controlled code.
How to fix it
Upgrade Netatalk to a version newer than 3.1.13. Apply the latest security patches from distribution maintainers for Debian and Fedora. Disable or restrict AFP access where possible until updates are applied.
How to confirm the fix worked
Confirm the installed Netatalk version exceeds 3.1.13, review AFP service logs for processing errors, and test file handling with benign inputs to verify stability.
Typical attack path
- Create a specially crafted .appl file containing oversized data
- Deliver the file to a system exposing the Netatalk AFP service
- Trigger file processing via legitimate AFP operations
- Exploit the resulting heap overflow to achieve code execution
How to detect it
Inspect Netatalk and AFP service logs for unexpected .appl file processing, crashes, or privilege changes; correlate with file creation events on shares.
What your security team should do
- Prioritize patching Netatalk on all affected hosts due to available public exploits
- Restrict AFP exposure to trusted networks only
- Implement file-type validation and sandboxing for AFP-processed files
- Monitor vulnerability disclosure feeds for downstream package updates
The record
Netatalk through 3.1.13 has an afp_getappl heap-based buffer overflow resulting in code execution via a crafted .appl file. This provides remote root access on some platforms such as FreeBSD (used for TrueNAS).
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | netatalk | 0 | 3.1.12~ds-3+deb10u1 |
| Debian:11 | netatalk | 0 | 3.1.12~ds-8+deb11u1 |
| Debian:13 | netatalk | 0 | 3.1.15~ds-1 |
| Debian:14 | netatalk | 0 | 3.1.15~ds-1 |
| Mageia:8 | netatalk | 0 | 3.1.14-1.1.mga8 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | netatalk | 0 | 3.1.0-3.11.1 |
| SUSE:Linux Enterprise Workstation Extension 12 SP5 | netatalk | 0 | 3.1.0-3.11.1 |
| Ubuntu:20.04:LTS | netatalk | 0 | 3.1.12~ds-4ubuntu0.20.04.1 |
| Ubuntu:22.04:LTS | netatalk | 0 | 3.1.12~ds-9ubuntu0.22.04.1 |
| Ubuntu:Pro:14.04:LTS | netatalk | 0 | 2.2.2-1ubuntu2.2+esm1 |
| Ubuntu:Pro:16.04:LTS | netatalk | 0 | 2.2.5-1ubuntu0.2+esm1 |
| Ubuntu:Pro:18.04:LTS | netatalk | 0 | 2.2.6-1ubuntu0.18.04.2+esm1 |
Related vulnerabilities
- CVE-2018-1160 Netatalk before 3.1.12 is vulnerable to an out of bounds write in dsi_opensess.c. Also affects netatalk
- CVE-2026-111497 A buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli… CWE-787
- CVE-2026-112397 Pillow is a Python imaging library. CWE-787
- CVE-2026-112059 libLAS through 1.8.1 contains a heap out-of-bounds write vulnerability in the point… CWE-787
- CVE-2026-89088 A flaw was found in parted. CWE-787
- CVE-2026-89085 A flaw was found in parted. CWE-787
- CVE-2026-85746 MariaDB server is a community developed fork of MySQL server. CWE-787
- CVE-2026-107815 MariaDB server is a community developed fork of MySQL server. CWE-787