<?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 rubygem-rack</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:01586-2</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2025-06-03T09:17:02Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2025-06-03T09:17:02Z</InitialReleaseDate>
    <CurrentReleaseDate>2025-06-03T09:17: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 rubygem-rack</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for rubygem-rack fixes the following issues:

- CVE-2025-46727: possible memory exhaustion due to unbounded parameter parsing in Rack::QueryParser (bsc#1242894).
- CVE-2025-32441: deleted sessions can be restored and occupied by unauthenticated users when the Rack::Session::Pool
  middleware is being used (bsc#1242899). 
</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">Image SLES15-SP4-SAP-BYOS-2025-1586,Image SLES15-SP4-SAP-BYOS-GCE-2025-1586,SUSE-2025-1586,SUSE-SLE-Product-HA-15-SP7-2025-1586</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-202501586-2/</URL>
      <Description>Link for SUSE-SU-2025:01586-2</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2025-June/021022.html</URL>
      <Description>E-Mail link for SUSE-SU-2025:01586-2</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/1242894</URL>
      <Description>SUSE Bug 1242894</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1242899</URL>
      <Description>SUSE Bug 1242899</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2025-32441/</URL>
      <Description>SUSE CVE CVE-2025-32441 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2025-46727/</URL>
      <Description>SUSE CVE CVE-2025-46727 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="Image SLES15-SP4-SAP-BYOS">
      <Branch Type="Product Name" Name="Image SLES15-SP4-SAP-BYOS">
        <FullProductName ProductID="Image SLES15-SP4-SAP-BYOS">Image SLES15-SP4-SAP-BYOS</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="Image SLES15-SP4-SAP-BYOS-GCE">
      <Branch Type="Product Name" Name="Image SLES15-SP4-SAP-BYOS-GCE">
        <FullProductName ProductID="Image SLES15-SP4-SAP-BYOS-GCE">Image SLES15-SP4-SAP-BYOS-GCE</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise High Availability Extension 15 SP7">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise High Availability Extension 15 SP7">
        <FullProductName ProductID="SUSE Linux Enterprise High Availability Extension 15 SP7" CPE="cpe:/o:suse:sle-ha:15:sp7">SUSE Linux Enterprise High Availability Extension 15 SP7</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.5-rubygem-rack-2.0.8-150000.3.31.1">
      <FullProductName ProductID="ruby2.5-rubygem-rack-2.0.8-150000.3.31.1">ruby2.5-rubygem-rack-2.0.8-150000.3.31.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.5-rubygem-rack-doc-2.0.8-150000.3.31.1">
      <FullProductName ProductID="ruby2.5-rubygem-rack-doc-2.0.8-150000.3.31.1">ruby2.5-rubygem-rack-doc-2.0.8-150000.3.31.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.5-rubygem-rack-testsuite-2.0.8-150000.3.31.1">
      <FullProductName ProductID="ruby2.5-rubygem-rack-testsuite-2.0.8-150000.3.31.1">ruby2.5-rubygem-rack-testsuite-2.0.8-150000.3.31.1</FullProductName>
    </Branch>
    <Relationship ProductReference="ruby2.5-rubygem-rack-2.0.8-150000.3.31.1" RelationType="Default Component Of" RelatesToProductReference="Image SLES15-SP4-SAP-BYOS">
      <FullProductName ProductID="Image SLES15-SP4-SAP-BYOS:ruby2.5-rubygem-rack-2.0.8-150000.3.31.1">ruby2.5-rubygem-rack-2.0.8-150000.3.31.1 as a component of Image SLES15-SP4-SAP-BYOS</FullProductName>
    </Relationship>
    <Relationship ProductReference="ruby2.5-rubygem-rack-2.0.8-150000.3.31.1" RelationType="Default Component Of" RelatesToProductReference="Image SLES15-SP4-SAP-BYOS-GCE">
      <FullProductName ProductID="Image SLES15-SP4-SAP-BYOS-GCE:ruby2.5-rubygem-rack-2.0.8-150000.3.31.1">ruby2.5-rubygem-rack-2.0.8-150000.3.31.1 as a component of Image SLES15-SP4-SAP-BYOS-GCE</FullProductName>
    </Relationship>
    <Relationship ProductReference="ruby2.5-rubygem-rack-2.0.8-150000.3.31.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise High Availability Extension 15 SP7">
      <FullProductName ProductID="SUSE Linux Enterprise High Availability Extension 15 SP7:ruby2.5-rubygem-rack-2.0.8-150000.3.31.1">ruby2.5-rubygem-rack-2.0.8-150000.3.31.1 as a component of SUSE Linux Enterprise High Availability Extension 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">Rack is a modular Ruby web server interface. Prior to version 2.2.14, when using the `Rack::Session::Pool` middleware, simultaneous rack requests can restore a deleted rack session, which allows the unauthenticated user to occupy that session. Rack session middleware prepares the session at the beginning of request, then saves is back to the store with possible changes applied by host rack application. This way the session becomes to be a subject of race conditions in general sense over concurrent rack requests. When using the `Rack::Session::Pool` middleware, and provided the attacker can acquire a session cookie (already a major issue), the session may be restored if the attacker can trigger a long running request (within that same session) adjacent to the user logging out, in order to retain illicit access even after a user has attempted to logout. Version 2.2.14 contains a patch for the issue. Some other mitigations are available. Either ensure the application invalidates sessions atomically by marking them as logged out e.g., using a `logged_out` flag, instead of deleting them, and check this flag on every request to prevent reuse; or implement a custom session store that tracks session invalidation timestamps and refuses to accept session data if the session was invalidated after the request began.</Note>
    </Notes>
    <CVE>CVE-2025-32441</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>Image SLES15-SP4-SAP-BYOS-GCE:ruby2.5-rubygem-rack-2.0.8-150000.3.31.1</ProductID>
        <ProductID>Image SLES15-SP4-SAP-BYOS:ruby2.5-rubygem-rack-2.0.8-150000.3.31.1</ProductID>
        <ProductID>SUSE Linux Enterprise High Availability Extension 15 SP7:ruby2.5-rubygem-rack-2.0.8-150000.3.31.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-202501586-2/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2025-32441.html</URL>
        <Description>CVE-2025-32441</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1242897</URL>
        <Description>SUSE Bug 1242897</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">Rack is a modular Ruby web server interface. Prior to versions 2.2.14, 3.0.16, and 3.1.14, `Rack::QueryParser` parses query strings and `application/x-www-form-urlencoded` bodies into Ruby data structures without imposing any limit on the number of parameters, allowing attackers to send requests with extremely large numbers of parameters. The vulnerability arises because `Rack::QueryParser` iterates over each `&amp;`-separated key-value pair and adds it to a Hash without enforcing an upper bound on the total number of parameters. This allows an attacker to send a single request containing hundreds of thousands (or more) of parameters, which consumes excessive memory and CPU during parsing. An attacker can trigger denial of service by sending specifically crafted HTTP requests, which can cause memory exhaustion or pin CPU resources, stalling or crashing the Rack server. This results in full service disruption until the affected worker is restarted. Versions 2.2.14, 3.0.16, and 3.1.14 fix the issue. Some other mitigations are available. One may use middleware to enforce a maximum query string size or parameter count, or employ a reverse proxy (such as Nginx) to limit request sizes and reject oversized query strings or bodies. Limiting request body sizes and query string lengths at the web server or CDN level is an effective mitigation.</Note>
    </Notes>
    <CVE>CVE-2025-46727</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>Image SLES15-SP4-SAP-BYOS-GCE:ruby2.5-rubygem-rack-2.0.8-150000.3.31.1</ProductID>
        <ProductID>Image SLES15-SP4-SAP-BYOS:ruby2.5-rubygem-rack-2.0.8-150000.3.31.1</ProductID>
        <ProductID>SUSE Linux Enterprise High Availability Extension 15 SP7:ruby2.5-rubygem-rack-2.0.8-150000.3.31.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-202501586-2/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2025-46727.html</URL>
        <Description>CVE-2025-46727</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1242891</URL>
        <Description>SUSE Bug 1242891</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
