{"schemaVersion":3,"id":"MGASA-2024-0259","aliases":[],"status":"published","duplicateOf":null,"title":null,"description":"Updated netatalk packages fix security vulnerabilities\n\nNetatalk before 3.2.1 has an off-by-one error and resultant heap-based\nbuffer overflow because of setting ibuf[PASSWDLEN] to '\\0' in FPLoginExt\nin login in etc/uams/uams_pam.c. (CVE-2024-38439)\nNetatalk before 3.2.1 has an off-by-one error, and resultant heap-based\nbuffer overflow and segmentation violation, because of incorrectly using\nFPLoginExt in BN_bin2bn in etc/uams/uams_dhx_pam.c. The original issue\n1097 report stated: 'The latest version of Netatalk (v3.2.0) contains a\nsecurity vulnerability. This vulnerability arises due to a lack of\nvalidation for the length field after parsing user-provided data,\nleading to an out-of-bounds heap write of one byte (\\0). Under specific\nconfigurations, this can result in reading metadata of the next heap\nblock, potentially causing a Denial of Service (DoS) under certain heap\nlayouts or with ASAN enabled. ... The vulnerability is located in the\nFPLoginExt operation of Netatalk, in the BN_bin2bn function found in\n/etc/uams/uams_dhx_pam.c ... if (!(bn = BN_bin2bn((unsigned char *)ibuf,\nKEYSIZE, NULL))) ... threads ... [#0] Id 1, Name: \"afpd\", stopped\n0x7ffff4304e58 in ?? (), reason: SIGSEGV ... [#0] 0x7ffff4304e58 mov\nBYTE PTR [r14+0x8], 0x0 ... mov rdx, QWORD PTR [rsp+0x18] ...\nafp_login_ext(obj=<optimized out>, ibuf=0x62d000010424 \"\",\nibuflen=0xffffffffffff0015, rbuf=<optimized out>, rbuflen=<optimized\nout>) ... afp_over_dsi(obj=0x5555556154c0 <obj>).'. (CVE-2024-38440)\nNetatalk before 3.2.1 has an off-by-one error and resultant heap-based\nbuffer overflow because of setting ibuf[len] to '\\0' in FPMapName in\nafp_mapname in etc/afpd/directory.c. (CVE-2024-38441)","dates":{"published":"2024-07-10T18:01:45.000Z","modified":"2026-04-16T04:44:31.918Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":null,"severity":"unknown","version":null,"versionLabel":null,"source":null,"vector":null,"computed":false,"selection":"none"},"metrics":[]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"mageia","product":"netatalk","name":"netatalk","label":"netatalk","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/netatalk","purlType":"rpm","versions":[{"text":"< 3.1.14-2.4.mga9","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1.14-2.4.mga9","eol":null,"hubHref":null}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://advisories.mageia.org/MGASA-2024-0259.html","label":"advisories.mageia.org/MGASA-2024-0259.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=33381","label":"bugs.mageia.org/show_bug.cgi?id=33381","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UM3M423DHSUBERDIYCFHYY6XF2CAAMA2/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]}],"lineage":{"upstream":["CVE-2024-38439","CVE-2024-38440","CVE-2024-38441"],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-07-10T18:01:45.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-16T04:44:31.918Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":0,"level":"minimal","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T06:31:53.462Z","stale":false,"partial":false}}