<?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">cups-2.4.2-6.1 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:13017</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">cups-2.4.2-6.1 on GA media</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">These are all security issues fixed in the cups-2.4.2-6.1 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-13017</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:13017</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-2023-34241/</URL>
      <Description>SUSE CVE CVE-2023-34241 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="cups-2.4.2-6.1">
      <FullProductName ProductID="cups-2.4.2-6.1">cups-2.4.2-6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="cups-client-2.4.2-6.1">
      <FullProductName ProductID="cups-client-2.4.2-6.1">cups-client-2.4.2-6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="cups-config-2.4.2-6.1">
      <FullProductName ProductID="cups-config-2.4.2-6.1">cups-config-2.4.2-6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="cups-ddk-2.4.2-6.1">
      <FullProductName ProductID="cups-ddk-2.4.2-6.1">cups-ddk-2.4.2-6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="cups-devel-2.4.2-6.1">
      <FullProductName ProductID="cups-devel-2.4.2-6.1">cups-devel-2.4.2-6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="cups-devel-32bit-2.4.2-6.1">
      <FullProductName ProductID="cups-devel-32bit-2.4.2-6.1">cups-devel-32bit-2.4.2-6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcups2-2.4.2-6.1">
      <FullProductName ProductID="libcups2-2.4.2-6.1">libcups2-2.4.2-6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcups2-32bit-2.4.2-6.1">
      <FullProductName ProductID="libcups2-32bit-2.4.2-6.1">libcups2-32bit-2.4.2-6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcupsimage2-2.4.2-6.1">
      <FullProductName ProductID="libcupsimage2-2.4.2-6.1">libcupsimage2-2.4.2-6.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="libcupsimage2-32bit-2.4.2-6.1">
      <FullProductName ProductID="libcupsimage2-32bit-2.4.2-6.1">libcupsimage2-32bit-2.4.2-6.1</FullProductName>
    </Branch>
    <Relationship ProductReference="cups-2.4.2-6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:cups-2.4.2-6.1">cups-2.4.2-6.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="cups-client-2.4.2-6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:cups-client-2.4.2-6.1">cups-client-2.4.2-6.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="cups-config-2.4.2-6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:cups-config-2.4.2-6.1">cups-config-2.4.2-6.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="cups-ddk-2.4.2-6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:cups-ddk-2.4.2-6.1">cups-ddk-2.4.2-6.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="cups-devel-2.4.2-6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:cups-devel-2.4.2-6.1">cups-devel-2.4.2-6.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="cups-devel-32bit-2.4.2-6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:cups-devel-32bit-2.4.2-6.1">cups-devel-32bit-2.4.2-6.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcups2-2.4.2-6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:libcups2-2.4.2-6.1">libcups2-2.4.2-6.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcups2-32bit-2.4.2-6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:libcups2-32bit-2.4.2-6.1">libcups2-32bit-2.4.2-6.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcupsimage2-2.4.2-6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:libcupsimage2-2.4.2-6.1">libcupsimage2-2.4.2-6.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
    <Relationship ProductReference="libcupsimage2-32bit-2.4.2-6.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:libcupsimage2-32bit-2.4.2-6.1">libcupsimage2-32bit-2.4.2-6.1 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">OpenPrinting CUPS is a standards-based, open source printing system for Linux and other Unix-like operating systems. Starting in version 2.0.0 and prior to version 2.4.6, CUPS logs data of free memory to the logging service AFTER the connection has been closed, when it should have logged the data right before. This is a use-after-free bug that impacts the entire cupsd process.

The exact cause of this issue is the function `httpClose(con-&gt;http)` being called in `scheduler/client.c`. The problem is that httpClose always, provided its argument is not null, frees the pointer at the end of the call, only for cupsdLogClient to pass the pointer to httpGetHostname. This issue happens in function `cupsdAcceptClient` if LogLevel is warn or higher and in two scenarios: there is a double-lookup for the IP Address (HostNameLookups Double is set in `cupsd.conf`) which fails to resolve, or if CUPS is compiled with TCP wrappers and the connection is refused by rules from `/etc/hosts.allow` and `/etc/hosts.deny`.

Version 2.4.6 has a patch for this issue.</Note>
    </Notes>
    <CVE>CVE-2023-34241</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Tumbleweed:cups-2.4.2-6.1</ProductID>
        <ProductID>openSUSE Tumbleweed:cups-client-2.4.2-6.1</ProductID>
        <ProductID>openSUSE Tumbleweed:cups-config-2.4.2-6.1</ProductID>
        <ProductID>openSUSE Tumbleweed:cups-ddk-2.4.2-6.1</ProductID>
        <ProductID>openSUSE Tumbleweed:cups-devel-2.4.2-6.1</ProductID>
        <ProductID>openSUSE Tumbleweed:cups-devel-32bit-2.4.2-6.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcups2-2.4.2-6.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcups2-32bit-2.4.2-6.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcupsimage2-2.4.2-6.1</ProductID>
        <ProductID>openSUSE Tumbleweed:libcupsimage2-32bit-2.4.2-6.1</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-2023-34241.html</URL>
        <Description>CVE-2023-34241</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1212230</URL>
        <Description>SUSE Bug 1212230</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1217457</URL>
        <Description>SUSE Bug 1217457</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1218317</URL>
        <Description>SUSE Bug 1218317</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
