CVE-2024-38440
published high CVSS 3.1 · 7.5netatalk: multiple vulnerabilities
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| netatalk | — | netatalk0 to < 3.2.1 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Alpine Linux | edge | netatalk | Fixed | 3.1.19-r0 | Package fix record |
| Debian | bullseye | netatalk | Advisory build | 3.1.12~ds-8+deb11u2 | DLA-3968-1 |
| SUSE / openSUSE | SLE-12-SP5 | netatalkaarch64 | Advisory build | 3.1.18-3.25.1 | SUSE-SU-2024:2301-1 |
| Ubuntu | bionic | netatalk | Advisory build | 2.2.6-1ubuntu0.18.04.2+esm2 | USN-7347-1 |
| Alpine Linux | v3.20 | netatalk | Fixed | 3.1.19-r0 | Package fix record |
| Alpine Linux | v3.21 | netatalk | Fixed | 3.1.19-r0 | Package fix record |
Show 19 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.22 | netatalk | Fixed | 3.1.19-r0 | Package fix record |
| Alpine Linux | v3.23 | netatalk | Fixed | 3.1.19-r0 | Package fix record |
| Alpine Linux | v3.24 | netatalk | Fixed | 3.1.19-r0 | Package fix record |
| SUSE / openSUSE | SLE-12-SP5 | netatalkppc64le | Advisory build | 3.1.18-3.25.1 | SUSE-SU-2024:2301-1 |
| SUSE / openSUSE | SLE-12-SP5 | netatalks390x | Advisory build | 3.1.18-3.25.1 | SUSE-SU-2024:2301-1 |
| SUSE / openSUSE | SLE-12-SP5 | netatalkx86_64 | Advisory build | 3.1.18-3.25.1 | SUSE-SU-2024:2301-1 |
| Ubuntu | focal | netatalk | Advisory build | 3.1.12~ds-4ubuntu0.20.04.4 | USN-7347-1 |
| Ubuntu | jammy | netatalk | Advisory build | 3.1.12~ds-9ubuntu0.22.04.4 | USN-7347-1 |
| Ubuntu | noble | netatalk | Advisory build | 3.1.18~ds-1ubuntu0.1~esm1 | USN-7347-1 |
| Ubuntu | trusty | netatalk | Advisory build | 2.2.2-1ubuntu2.2+esm2 | USN-7347-1 |
| Ubuntu | xenial | netatalk | Advisory build | 2.2.5-1ubuntu0.2+esm2 | USN-7347-1 |
| SUSE / openSUSE | SLE-12-SP5 | libatalk0aarch64 | Advisory build | 3.1.18-3.25.1 | SUSE-SU-2024:2301-1 |
| SUSE / openSUSE | SLE-12-SP5 | libatalk0ppc64le | Advisory build | 3.1.18-3.25.1 | SUSE-SU-2024:2301-1 |
| SUSE / openSUSE | SLE-12-SP5 | libatalk0s390x | Advisory build | 3.1.18-3.25.1 | SUSE-SU-2024:2301-1 |
| SUSE / openSUSE | SLE-12-SP5 | libatalk0x86_64 | Advisory build | 3.1.18-3.25.1 | SUSE-SU-2024:2301-1 |
| SUSE / openSUSE | SLE-12-SP5 | netatalk-develaarch64 | Advisory build | 3.1.18-3.25.1 | SUSE-SU-2024:2301-1 |
| SUSE / openSUSE | SLE-12-SP5 | netatalk-develppc64le | Advisory build | 3.1.18-3.25.1 | SUSE-SU-2024:2301-1 |
| SUSE / openSUSE | SLE-12-SP5 | netatalk-devels390x | Advisory build | 3.1.18-3.25.1 | SUSE-SU-2024:2301-1 |
| SUSE / openSUSE | SLE-12-SP5 | netatalk-develx86_64 | Advisory build | 3.1.18-3.25.1 | SUSE-SU-2024:2301-1 |
Description
Netatalk before 3.2.1 has an off-by-one error, and resultant heap-based buffer overflow and segmentation violation, because of incorrectly using FPLoginExt in BN_bin2bn in etc/uams/uams_dhx_pam.c. The original issue 1097 report stated: 'The latest version of Netatalk (v3.2.0) contains a security vulnerability. This vulnerability arises due to a lack of validation for the length field after parsing user-provided data, leading to an out-of-bounds heap write of one byte (\0). Under specific configurations, this can result in reading metadata of the next heap block, potentially causing a Denial of Service (DoS) under certain heap layouts or with ASAN enabled. ... The vulnerability is located in the FPLoginExt operation of Netatalk, in the BN_bin2bn function found in /etc/uams/uams_dhx_pam.c ... if (!(bn = BN_bin2bn((unsigned char *)ibuf, KEYSIZE, NULL))) ... threads ... [#0] Id 1, Name: "afpd", stopped 0x7ffff4304e58 in ?? (), reason: SIGSEGV ... [#0] 0x7ffff4304e58 mov BYTE PTR [r14+0x8], 0x0 ... mov rdx, QWORD PTR [rsp+0x18] ... afp_login_ext(obj=<optimized out>, ibuf=0x62d000010424 "", ibuflen=0xffffffffffff0015, rbuf=<optimized out>, rbuflen=<optimized out>) ... afp_over_dsi(obj=0x5555556154c0 <obj>).' 2.4.1 and 3.1.19 are also fixed versions.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| netatalk | netatalk | 0 to < 3.2.1 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- n/a
- CWE-193 CWE-193 Off-by-one Error
References
5- https://github.com/Netatalk/netatalk/blob/90d91a9ac9a7d6132ab7620d31c8c23400949206/etc/uams/uams_dhx_pam.c#L199-L200
- https://github.com/Netatalk/netatalk/issues/1097
- https://github.com/Netatalk/netatalk/security/advisories/GHSA-mxx4-9fhm-r3w5
- https://lists.debian.org/debian-lts-announce/2024/11/msg00026.html
- https://netatalk.io/security/CVE-2024-38440
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 855845004125bb7d0a0d4567cc68d700be567ee882c67e1e73ca94e2fd38c898
- Ingested
- 23 Sep 2026, 08:24:49 UTC
- Source record
- Official CVE record