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

- CVE-2025-27151: Absence of filename size check may cause a stack
  overflow (bsc#1243804)
- CVE-2025-49112: setDeferredReply integer underflow (bsc#1243913)
- CVE-2025-21605: Output buffer denial of service (bsc#1241708)
</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-2025-1942,SUSE-SLE-Module-Server-Applications-15-SP7-2025-1942</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/2025/suse-su-202501942-1/</URL>
      <Description>Link for SUSE-SU-2025:01942-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-updates/2025-June/040284.html</URL>
      <Description>E-Mail link for SUSE-SU-2025:01942-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/1241708</URL>
      <Description>SUSE Bug 1241708</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1243061</URL>
      <Description>SUSE Bug 1243061</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1243804</URL>
      <Description>SUSE Bug 1243804</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1243913</URL>
      <Description>SUSE Bug 1243913</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2025-21605/</URL>
      <Description>SUSE CVE CVE-2025-21605 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2025-27151/</URL>
      <Description>SUSE CVE CVE-2025-27151 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2025-49112/</URL>
      <Description>SUSE CVE CVE-2025-49112 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Module for Server Applications 15 SP7">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Module for Server Applications 15 SP7">
        <FullProductName ProductID="SUSE Linux Enterprise Module for Server Applications 15 SP7" CPE="cpe:/o:suse:sle-module-server-applications:15:sp7">SUSE Linux Enterprise Module for Server Applications 15 SP7</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="valkey-8.0.2-150700.3.5.1">
      <FullProductName ProductID="valkey-8.0.2-150700.3.5.1">valkey-8.0.2-150700.3.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="valkey-compat-redis-8.0.2-150700.3.5.1">
      <FullProductName ProductID="valkey-compat-redis-8.0.2-150700.3.5.1">valkey-compat-redis-8.0.2-150700.3.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="valkey-devel-8.0.2-150700.3.5.1">
      <FullProductName ProductID="valkey-devel-8.0.2-150700.3.5.1">valkey-devel-8.0.2-150700.3.5.1</FullProductName>
    </Branch>
    <Relationship ProductReference="valkey-8.0.2-150700.3.5.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Server Applications 15 SP7">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Server Applications 15 SP7:valkey-8.0.2-150700.3.5.1">valkey-8.0.2-150700.3.5.1 as a component of SUSE Linux Enterprise Module for Server Applications 15 SP7</FullProductName>
    </Relationship>
    <Relationship ProductReference="valkey-compat-redis-8.0.2-150700.3.5.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Server Applications 15 SP7">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Server Applications 15 SP7:valkey-compat-redis-8.0.2-150700.3.5.1">valkey-compat-redis-8.0.2-150700.3.5.1 as a component of SUSE Linux Enterprise Module for Server Applications 15 SP7</FullProductName>
    </Relationship>
    <Relationship ProductReference="valkey-devel-8.0.2-150700.3.5.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Module for Server Applications 15 SP7">
      <FullProductName ProductID="SUSE Linux Enterprise Module for Server Applications 15 SP7:valkey-devel-8.0.2-150700.3.5.1">valkey-devel-8.0.2-150700.3.5.1 as a component of SUSE Linux Enterprise Module for Server Applications 15 SP7</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">Redis is an open source, in-memory database that persists on disk. In versions starting at 2.6 and prior to 7.4.3, An unauthenticated client can cause unlimited growth of output buffers, until the server runs out of memory or is killed. By default, the Redis configuration does not limit the output buffer of normal clients (see client-output-buffer-limit). Therefore, the output buffer can grow unlimitedly over time. As a result, the service is exhausted and the memory is unavailable. When password authentication is enabled on the Redis server, but no password is provided, the client can still cause the output buffer to grow from "NOAUTH" responses until the system will run out of memory. This issue has been patched in version 7.4.3. An additional workaround to mitigate this problem without patching the redis-server executable is to block access to prevent unauthenticated users from connecting to Redis. This can be done in different ways. Either using network access control tools like firewalls, iptables, security groups, etc, or enabling TLS and requiring users to authenticate using client side certificates.</Note>
    </Notes>
    <CVE>CVE-2025-21605</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15 SP7:valkey-8.0.2-150700.3.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15 SP7:valkey-compat-redis-8.0.2-150700.3.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15 SP7:valkey-devel-8.0.2-150700.3.5.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/2025/suse-su-202501942-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2025-21605.html</URL>
        <Description>CVE-2025-21605</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1241708</URL>
        <Description>SUSE Bug 1241708</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">Redis is an open source, in-memory database that persists on disk. In versions starting from 7.0.0 to before 8.0.2, a stack-based buffer overflow exists in redis-check-aof due to the use of memcpy with strlen(filepath) when copying a user-supplied file path into a fixed-size stack buffer. This allows an attacker to overflow the stack and potentially achieve code execution. This issue has been patched in version 8.0.2.</Note>
    </Notes>
    <CVE>CVE-2025-27151</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15 SP7:valkey-8.0.2-150700.3.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15 SP7:valkey-compat-redis-8.0.2-150700.3.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15 SP7:valkey-devel-8.0.2-150700.3.5.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/2025/suse-su-202501942-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2025-27151.html</URL>
        <Description>CVE-2025-27151</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1243804</URL>
        <Description>SUSE Bug 1243804</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">setDeferredReply in networking.c in Valkey through 8.1.1 has an integer underflow for prev-&gt;size - prev-&gt;used.</Note>
    </Notes>
    <CVE>CVE-2025-49112</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15 SP7:valkey-8.0.2-150700.3.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15 SP7:valkey-compat-redis-8.0.2-150700.3.5.1</ProductID>
        <ProductID>SUSE Linux Enterprise Module for Server Applications 15 SP7:valkey-devel-8.0.2-150700.3.5.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/2025/suse-su-202501942-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2025-49112.html</URL>
        <Description>CVE-2025-49112</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1243913</URL>
        <Description>SUSE Bug 1243913</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
