<?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 mgetty</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2018:2979-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-10-02T15:51:02Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-10-02T15:51:02Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-10-02T15:51:02Z</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 mgetty</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for mgetty fixes the following security issues:

- CVE-2018-16741: The function do_activate() did not properly sanitize shell
  metacharacters to prevent command injection (bsc#1108752)
- CVE-2018-16745: The mail_to parameter was not sanitized, leading to a buffer
  overflow if long untrusted input reached it (bsc#1108756)
- CVE-2018-16744: The mail_to parameter was not sanitized, leading to command
  injection if untrusted input reached reach it (bsc#1108757)
- CVE-2018-16742: Prevent stack-based buffer overflow that could have been
  triggered via a command-line parameter (bsc#1108762)
- CVE-2018-16743: The command-line parameter username wsa passed unsanitized to
  strcpy(), which could have caused a stack-based buffer overflow (bsc#1108761)
</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-SLE-DESKTOP-12-SP3-2018-2122,SUSE-SLE-SERVER-12-SP3-2018-2122</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/2018/suse-su-20182979-1/</URL>
      <Description>Link for SUSE-SU-2018:2979-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2018-October/004636.html</URL>
      <Description>E-Mail link for SUSE-SU-2018:2979-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/1108752</URL>
      <Description>SUSE Bug 1108752</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1108756</URL>
      <Description>SUSE Bug 1108756</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1108757</URL>
      <Description>SUSE Bug 1108757</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1108761</URL>
      <Description>SUSE Bug 1108761</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1108762</URL>
      <Description>SUSE Bug 1108762</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-16741/</URL>
      <Description>SUSE CVE CVE-2018-16741 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-16742/</URL>
      <Description>SUSE CVE CVE-2018-16742 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-16743/</URL>
      <Description>SUSE CVE CVE-2018-16743 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-16744/</URL>
      <Description>SUSE CVE CVE-2018-16744 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-16745/</URL>
      <Description>SUSE CVE CVE-2018-16745 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Desktop 12 SP3">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Desktop 12 SP3">
        <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP3" CPE="cpe:/o:suse:sled:12:sp3">SUSE Linux Enterprise Desktop 12 SP3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server 12 SP3">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12 SP3">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP3" CPE="cpe:/o:suse:sles:12:sp3">SUSE Linux Enterprise Server 12 SP3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP3">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP3">
        <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP3" CPE="cpe:/o:suse:sles_sap:12:sp3">SUSE Linux Enterprise Server for SAP Applications 12 SP3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="g3utils-1.1.36-58.3.1">
      <FullProductName ProductID="g3utils-1.1.36-58.3.1">g3utils-1.1.36-58.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="mgetty-1.1.36-58.3.1">
      <FullProductName ProductID="mgetty-1.1.36-58.3.1">mgetty-1.1.36-58.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="g3utils-1.1.36-58.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Desktop 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP3:g3utils-1.1.36-58.3.1">g3utils-1.1.36-58.3.1 as a component of SUSE Linux Enterprise Desktop 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="mgetty-1.1.36-58.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Desktop 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Desktop 12 SP3:mgetty-1.1.36-58.3.1">mgetty-1.1.36-58.3.1 as a component of SUSE Linux Enterprise Desktop 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="g3utils-1.1.36-58.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP3:g3utils-1.1.36-58.3.1">g3utils-1.1.36-58.3.1 as a component of SUSE Linux Enterprise Server 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="mgetty-1.1.36-58.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP3:mgetty-1.1.36-58.3.1">mgetty-1.1.36-58.3.1 as a component of SUSE Linux Enterprise Server 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="g3utils-1.1.36-58.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP3:g3utils-1.1.36-58.3.1">g3utils-1.1.36-58.3.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP3</FullProductName>
    </Relationship>
    <Relationship ProductReference="mgetty-1.1.36-58.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP3">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP3:mgetty-1.1.36-58.3.1">mgetty-1.1.36-58.3.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP3</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">An issue was discovered in mgetty before 1.2.1. In fax/faxq-helper.c, the function do_activate() does not properly sanitize shell metacharacters to prevent command injection. It is possible to use the ||, &amp;&amp;, or &gt; characters within a file created by the "faxq-helper activate &lt;jobid&gt;" command.</Note>
    </Notes>
    <CVE>CVE-2018-16741</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:g3utils-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:mgetty-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:g3utils-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:mgetty-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:g3utils-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:mgetty-1.1.36-58.3.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/2018/suse-su-20182979-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-16741.html</URL>
        <Description>CVE-2018-16741</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1108752</URL>
        <Description>SUSE Bug 1108752</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">An issue was discovered in mgetty before 1.2.1. In contrib/scrts.c, a stack-based buffer overflow can be triggered via a command-line parameter.</Note>
    </Notes>
    <CVE>CVE-2018-16742</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:g3utils-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:mgetty-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:g3utils-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:mgetty-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:g3utils-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:mgetty-1.1.36-58.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</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/2018/suse-su-20182979-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-16742.html</URL>
        <Description>CVE-2018-16742</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1108762</URL>
        <Description>SUSE Bug 1108762</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1121954</URL>
        <Description>SUSE Bug 1121954</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">An issue was discovered in mgetty before 1.2.1. In contrib/next-login/login.c, the command-line parameter username is passed unsanitized to strcpy(), which can cause a stack-based buffer overflow.</Note>
    </Notes>
    <CVE>CVE-2018-16743</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:g3utils-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:mgetty-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:g3utils-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:mgetty-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:g3utils-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:mgetty-1.1.36-58.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</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/2018/suse-su-20182979-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-16743.html</URL>
        <Description>CVE-2018-16743</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1108761</URL>
        <Description>SUSE Bug 1108761</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1121954</URL>
        <Description>SUSE Bug 1121954</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="4">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to parameter is not sanitized. It could allow for command injection if untrusted input can reach it, because popen is used.</Note>
    </Notes>
    <CVE>CVE-2018-16744</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:g3utils-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:mgetty-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:g3utils-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:mgetty-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:g3utils-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:mgetty-1.1.36-58.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</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/2018/suse-su-20182979-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-16744.html</URL>
        <Description>CVE-2018-16744</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1108757</URL>
        <Description>SUSE Bug 1108757</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="5">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">An issue was discovered in mgetty before 1.2.1. In fax_notify_mail() in faxrec.c, the mail_to parameter is not sanitized. It could allow a buffer overflow if long untrusted input can reach it.</Note>
    </Notes>
    <CVE>CVE-2018-16745</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:g3utils-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Desktop 12 SP3:mgetty-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:g3utils-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 12 SP3:mgetty-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:g3utils-1.1.36-58.3.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP3:mgetty-1.1.36-58.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</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/2018/suse-su-20182979-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-16745.html</URL>
        <Description>CVE-2018-16745</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1108756</URL>
        <Description>SUSE Bug 1108756</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1121954</URL>
        <Description>SUSE Bug 1121954</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
