<?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">leptonica-devel-1.80.0-1.9 on GA media</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2024:10914</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2024-06-17T21:45:33Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2024-06-17T21:45:33Z</InitialReleaseDate>
    <CurrentReleaseDate>2024-06-17T21:45:33Z</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">leptonica-devel-1.80.0-1.9 on GA media</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">These are all security issues fixed in the leptonica-devel-1.80.0-1.9 package on the GA media of openSUSE Tumbleweed.</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">openSUSE-Tumbleweed-2024-10914</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/>
      <Description>E-Mail link for openSUSE-SU-2024:10914</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://www.suse.com/security/cve/CVE-2017-18196/</URL>
      <Description>SUSE CVE CVE-2017-18196 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-3836/</URL>
      <Description>SUSE CVE CVE-2018-3836 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-7186/</URL>
      <Description>SUSE CVE CVE-2018-7186 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-7247/</URL>
      <Description>SUSE CVE CVE-2018-7247 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-7440/</URL>
      <Description>SUSE CVE CVE-2018-7440 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-7441/</URL>
      <Description>SUSE CVE CVE-2018-7441 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-7442/</URL>
      <Description>SUSE CVE CVE-2018-7442 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Tumbleweed">
      <Branch Type="Product Name" Name="openSUSE Tumbleweed">
        <FullProductName ProductID="openSUSE Tumbleweed" CPE="cpe:/o:opensuse:tumbleweed">openSUSE Tumbleweed</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="leptonica-devel-1.80.0-1.9">
      <FullProductName ProductID="leptonica-devel-1.80.0-1.9">leptonica-devel-1.80.0-1.9</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="leptonica-tools-1.80.0-1.9">
      <FullProductName ProductID="leptonica-tools-1.80.0-1.9">leptonica-tools-1.80.0-1.9</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="liblept5-1.80.0-1.9">
      <FullProductName ProductID="liblept5-1.80.0-1.9">liblept5-1.80.0-1.9</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="liblept5-32bit-1.80.0-1.9">
      <FullProductName ProductID="liblept5-32bit-1.80.0-1.9">liblept5-32bit-1.80.0-1.9</FullProductName>
    </Branch>
    <Relationship ProductReference="leptonica-devel-1.80.0-1.9" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:leptonica-devel-1.80.0-1.9">leptonica-devel-1.80.0-1.9 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="leptonica-tools-1.80.0-1.9" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:leptonica-tools-1.80.0-1.9">leptonica-tools-1.80.0-1.9 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="liblept5-1.80.0-1.9" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:liblept5-1.80.0-1.9">liblept5-1.80.0-1.9 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="liblept5-32bit-1.80.0-1.9" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:liblept5-32bit-1.80.0-1.9">liblept5-32bit-1.80.0-1.9 as a component of openSUSE Tumbleweed</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">Leptonica 1.74.4 constructs unintended pathnames (containing duplicated path components) when operating on files in /tmp subdirectories, which might allow local users to bypass intended file restrictions by leveraging access to a directory located deeper within the /tmp directory tree, as demonstrated by /tmp/ANY/PATH/ANY/PATH/input.tif.</Note>
    </Notes>
    <CVE>CVE-2017-18196</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:leptonica-devel-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:leptonica-tools-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:liblept5-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:liblept5-32bit-1.80.0-1.9</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</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/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-18196.html</URL>
        <Description>CVE-2017-18196</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1082843</URL>
        <Description>SUSE Bug 1082843</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 exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 1.74.4. A specially crafted gplot rootname argument can cause a command injection resulting in arbitrary code execution. An attacker can provide a malicious path as input to an application that passes attacker data to this function to trigger this vulnerability.</Note>
    </Notes>
    <CVE>CVE-2018-3836</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:leptonica-devel-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:leptonica-tools-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:liblept5-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:liblept5-32bit-1.80.0-1.9</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</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/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-3836.html</URL>
        <Description>CVE-2018-3836</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1079358</URL>
        <Description>SUSE Bug 1079358</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1082747</URL>
        <Description>SUSE Bug 1082747</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">Leptonica before 1.75.3 does not limit the number of characters in a %s format argument to fscanf or sscanf, which allows remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a long string, as demonstrated by the gplotRead and ptaReadStream functions.</Note>
    </Notes>
    <CVE>CVE-2018-7186</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:leptonica-devel-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:leptonica-tools-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:liblept5-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:liblept5-32bit-1.80.0-1.9</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</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/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-7186.html</URL>
        <Description>CVE-2018-7186</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1081576</URL>
        <Description>SUSE Bug 1081576</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1081631</URL>
        <Description>SUSE Bug 1081631</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 pixHtmlViewer in prog/htmlviewer.c in Leptonica before 1.75.3. Unsanitized input (rootname) can overflow a buffer, leading potentially to arbitrary code execution or possibly unspecified other impact.</Note>
    </Notes>
    <CVE>CVE-2018-7247</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:leptonica-devel-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:leptonica-tools-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:liblept5-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:liblept5-32bit-1.80.0-1.9</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</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/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-7247.html</URL>
        <Description>CVE-2018-7247</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1081631</URL>
        <Description>SUSE Bug 1081631</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 Leptonica through 1.75.3. The gplotMakeOutput function allows command injection via a $(command) approach in the gplot rootname argument. This issue exists because of an incomplete fix for CVE-2018-3836.</Note>
    </Notes>
    <CVE>CVE-2018-7440</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:leptonica-devel-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:leptonica-tools-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:liblept5-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:liblept5-32bit-1.80.0-1.9</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</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/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-7440.html</URL>
        <Description>CVE-2018-7440</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1079358</URL>
        <Description>SUSE Bug 1079358</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1082747</URL>
        <Description>SUSE Bug 1082747</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="6">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Leptonica through 1.75.3 uses hardcoded /tmp pathnames, which might allow local users to overwrite arbitrary files or have unspecified other impact by creating files in advance or winning a race condition, as demonstrated by /tmp/junk_split_image.ps in prog/splitimage2pdf.c.</Note>
    </Notes>
    <CVE>CVE-2018-7441</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:leptonica-devel-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:leptonica-tools-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:liblept5-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:liblept5-32bit-1.80.0-1.9</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</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/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-7441.html</URL>
        <Description>CVE-2018-7441</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1082749</URL>
        <Description>SUSE Bug 1082749</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="7">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">An issue was discovered in Leptonica through 1.75.3. The gplotMakeOutput function does not block '/' characters in the gplot rootname argument, potentially leading to path traversal and arbitrary file overwrite.</Note>
    </Notes>
    <CVE>CVE-2018-7442</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:leptonica-devel-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:leptonica-tools-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:liblept5-1.80.0-1.9</ProductID>
        <ProductID>openSUSE Tumbleweed:liblept5-32bit-1.80.0-1.9</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</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/>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-7442.html</URL>
        <Description>CVE-2018-7442</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1082748</URL>
        <Description>SUSE Bug 1082748</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
