{
  "cveId": "CVE-2024-38440",
  "url": "https://patchblox.com/security/cve/CVE-2024-38440",
  "summary": "CVE-2024-38440 is fixed in netatalk on 1 platform, first by netatalk 2.2.6-1ubuntu0.18.04.2\u002Besm2, released June 16, 2024. It is not reported as exploited. Patch Radar priority: High.",
  "title": "netatalk: Netatalk before 3.2.1 has an off-by-one error, and resultant heap-based buffer overflow and segmentation violation, b...",
  "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: \u0027The 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: \u0022afpd\u0022, stopped 0x7ffff4304e58 in ?? (), reason: SIGSEGV ... [#0] 0x7ffff4304e58 mov BYTE PTR [r14\u002B0x8], 0x0 ... mov rdx, QWORD PTR [rsp\u002B0x18] ... afp_login_ext(obj=\u003Coptimized out\u003E, ibuf=0x62d000010424 \u0022\u0022, ibuflen=0xffffffffffff0015, rbuf=\u003Coptimized out\u003E, rbuflen=\u003Coptimized out\u003E) ... afp_over_dsi(obj=0x5555556154c0 \u003Cobj\u003E).\u0027 2.4.1 and 3.1.19 are also fixed versions.",
  "published": "2024-06-16T06:15:00Z",
  "severity": "high",
  "cvss": 7.5,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.0088,
  "epssPercentile": 0.59332,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "netatalk",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "3.1.18~ds-2",
      "fix": "DEBIAN-CVE-2024-38440",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-38440",
      "released": "2024-06-16T13:15:53Z"
    },
    {
      "platform": "linux",
      "product": "netatalk",
      "release": "Debian 14",
      "fixedVersion": "3.1.18~ds-2",
      "fix": "DEBIAN-CVE-2024-38440",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-38440",
      "released": "2024-06-16T13:15:53Z"
    },
    {
      "platform": "linux",
      "product": "netatalk",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "2.2.6-1ubuntu0.18.04.2\u002Besm2",
      "fix": "netatalk 2.2.6-1ubuntu0.18.04.2\u002Besm2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-netatalk-2.2.6-1ubuntu0.18.04.2-esm2",
      "released": "2024-06-16T06:15:00Z"
    },
    {
      "platform": "linux",
      "product": "netatalk",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "3.1.12~ds-4ubuntu0.20.04.4",
      "fix": "netatalk 3.1.12~ds-4ubuntu0.20.04.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-netatalk-3.1.12-ds-4ubuntu0.20.04.4",
      "released": "2024-06-16T06:15:00Z"
    },
    {
      "platform": "linux",
      "product": "netatalk",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "3.1.12~ds-9ubuntu0.22.04.4",
      "fix": "netatalk 3.1.12~ds-9ubuntu0.22.04.4",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-netatalk-3.1.12-ds-9ubuntu0.22.04.4",
      "released": "2024-06-16T06:15:00Z"
    },
    {
      "platform": "linux",
      "product": "netatalk",
      "release": "Ubuntu 24.04.5 LTS (noble)",
      "fixedVersion": "3.1.18~ds-1ubuntu0.1~esm1",
      "fix": "netatalk 3.1.18~ds-1ubuntu0.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-noble-netatalk-3.1.18-ds-1ubuntu0.1-esm1",
      "released": "2024-06-16T06:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}