<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Security update for netatalk</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2024:2301-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2024-07-04T13:17:32Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2024-07-04T13:17:32Z</InitialReleaseDate>
    <CurrentReleaseDate>2024-07-04T13:17:32Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf.pl</Engine>
      <Date>2017-02-24T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">Security update for netatalk</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for netatalk fixes the following issues:

- CVE-2024-38439: Fixed a heap buffer overflow because of setting
  ibuf[PASSWDLEN] to \0 in FPLoginExt in login in etc/uams/uams_pam.c
  (bsc#1226430).
- CVE-2024-38440: Fixed a heap buffer overflow because of incorrectly
  using FPLoginExt in BN_bin2bn in etc/uams/uams_dhx_pam.c
  (bsc#1226429).
- CVE-2024-38441: Fixed a heap buffer overflow because of setting
  ibuf[len] to \0 in FPMapName in afp_mapname in etc/afp/directory.c
  (bsc#1226431).
</Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="3" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">SUSE-2024-2301,SUSE-SLE-SDK-12-SP5-2024-2301,SUSE-SLE-WE-12-SP5-2024-2301</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright SUSE LLC under the Creative Commons License 4.0 with Attribution (CC-BY-4.0)</DocumentDistribution>
  <DocumentReferences>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/update/announcement/2024/suse-su-20242301-1/</URL>
      <Description>Link for SUSE-SU-2024:2301-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-updates/2024-July/035825.html</URL>
      <Description>E-Mail link for SUSE-SU-2024:2301-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1226429</URL>
      <Description>SUSE Bug 1226429</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1226430</URL>
      <Description>SUSE Bug 1226430</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1226431</URL>
      <Description>SUSE Bug 1226431</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2024-38439/</URL>
      <Description>SUSE CVE CVE-2024-38439 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2024-38440/</URL>
      <Description>SUSE CVE CVE-2024-38440 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2024-38441/</URL>
      <Description>SUSE CVE CVE-2024-38441 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Software Development Kit 12 SP5">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Software Development Kit 12 SP5">
        <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP5" CPE="cpe:/o:suse:sle-sdk:12:sp5">SUSE Linux Enterprise Software Development Kit 12 SP5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Workstation Extension 12 SP5">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Workstation Extension 12 SP5">
        <FullProductName ProductID="SUSE Linux Enterprise Workstation Extension 12 SP5" CPE="cpe:/o:suse:sle-we:12:sp5">SUSE Linux Enterprise Workstation Extension 12 SP5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="libatalk0-3.1.18-3.25.1">
      <FullProductName ProductID="libatalk0-3.1.18-3.25.1">libatalk0-3.1.18-3.25.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="netatalk-3.1.18-3.25.1">
      <FullProductName ProductID="netatalk-3.1.18-3.25.1">netatalk-3.1.18-3.25.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="netatalk-devel-3.1.18-3.25.1">
      <FullProductName ProductID="netatalk-devel-3.1.18-3.25.1">netatalk-devel-3.1.18-3.25.1</FullProductName>
    </Branch>
    <Relationship ProductReference="libatalk0-3.1.18-3.25.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP5:libatalk0-3.1.18-3.25.1">libatalk0-3.1.18-3.25.1 as a component of SUSE Linux Enterprise Software Development Kit 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="netatalk-3.1.18-3.25.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP5:netatalk-3.1.18-3.25.1">netatalk-3.1.18-3.25.1 as a component of SUSE Linux Enterprise Software Development Kit 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="netatalk-devel-3.1.18-3.25.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP5:netatalk-devel-3.1.18-3.25.1">netatalk-devel-3.1.18-3.25.1 as a component of SUSE Linux Enterprise Software Development Kit 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="libatalk0-3.1.18-3.25.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Workstation Extension 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Workstation Extension 12 SP5:libatalk0-3.1.18-3.25.1">libatalk0-3.1.18-3.25.1 as a component of SUSE Linux Enterprise Workstation Extension 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="netatalk-3.1.18-3.25.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Workstation Extension 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Workstation Extension 12 SP5:netatalk-3.1.18-3.25.1">netatalk-3.1.18-3.25.1 as a component of SUSE Linux Enterprise Workstation Extension 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="netatalk-devel-3.1.18-3.25.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Workstation Extension 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Workstation Extension 12 SP5:netatalk-devel-3.1.18-3.25.1">netatalk-devel-3.1.18-3.25.1 as a component of SUSE Linux Enterprise Workstation Extension 12 SP5</FullProductName>
    </Relationship>
  </ProductTree>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Netatalk before 3.2.1 has an off-by-one error and resultant heap-based buffer overflow because of setting ibuf[PASSWDLEN] to '\0' in FPLoginExt in login in etc/uams/uams_pam.c. 2.4.1 and 3.1.19 are also fixed versions.</Note>
    </Notes>
    <CVE>CVE-2024-38439</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP5:libatalk0-3.1.18-3.25.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP5:netatalk-3.1.18-3.25.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP5:netatalk-devel-3.1.18-3.25.1</ProductID>
        <ProductID>SUSE Linux Enterprise Workstation Extension 12 SP5:libatalk0-3.1.18-3.25.1</ProductID>
        <ProductID>SUSE Linux Enterprise Workstation Extension 12 SP5:netatalk-3.1.18-3.25.1</ProductID>
        <ProductID>SUSE Linux Enterprise Workstation Extension 12 SP5:netatalk-devel-3.1.18-3.25.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2024/suse-su-20242301-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2024-38439.html</URL>
        <Description>CVE-2024-38439</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1226430</URL>
        <Description>SUSE Bug 1226430</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">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=&lt;optimized out&gt;, ibuf=0x62d000010424 "", ibuflen=0xffffffffffff0015, rbuf=&lt;optimized out&gt;, rbuflen=&lt;optimized out&gt;) ... afp_over_dsi(obj=0x5555556154c0 &lt;obj&gt;).' 2.4.1 and 3.1.19 are also fixed versions.</Note>
    </Notes>
    <CVE>CVE-2024-38440</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP5:libatalk0-3.1.18-3.25.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP5:netatalk-3.1.18-3.25.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP5:netatalk-devel-3.1.18-3.25.1</ProductID>
        <ProductID>SUSE Linux Enterprise Workstation Extension 12 SP5:libatalk0-3.1.18-3.25.1</ProductID>
        <ProductID>SUSE Linux Enterprise Workstation Extension 12 SP5:netatalk-3.1.18-3.25.1</ProductID>
        <ProductID>SUSE Linux Enterprise Workstation Extension 12 SP5:netatalk-devel-3.1.18-3.25.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2024/suse-su-20242301-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2024-38440.html</URL>
        <Description>CVE-2024-38440</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1226429</URL>
        <Description>SUSE Bug 1226429</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="3">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Netatalk before 3.2.1 has an off-by-one error and resultant heap-based buffer overflow because of setting ibuf[len] to '\0' in FPMapName in afp_mapname in etc/afpd/directory.c. 2.4.1 and 3.1.19 are also fixed versions.</Note>
    </Notes>
    <CVE>CVE-2024-38441</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP5:libatalk0-3.1.18-3.25.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP5:netatalk-3.1.18-3.25.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP5:netatalk-devel-3.1.18-3.25.1</ProductID>
        <ProductID>SUSE Linux Enterprise Workstation Extension 12 SP5:libatalk0-3.1.18-3.25.1</ProductID>
        <ProductID>SUSE Linux Enterprise Workstation Extension 12 SP5:netatalk-3.1.18-3.25.1</ProductID>
        <ProductID>SUSE Linux Enterprise Workstation Extension 12 SP5:netatalk-devel-3.1.18-3.25.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>important</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2024/suse-su-20242301-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2024-38441.html</URL>
        <Description>CVE-2024-38441</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1226431</URL>
        <Description>SUSE Bug 1226431</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
