cve.bz

CVE-2025-32441 rack rack: Race Condition

4.2 mediumEPSS 0.3%Fix available

Medium (4.2) in rack rack. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in rack 2.2.14.

On this page
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.

Severity

CVSS 3.1

4.2 medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 21st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-05-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
CWE-613 Insufficient Session Expiration deprecated by MITRE see CWE-1463, CWE-1464
OWASP Top 10
A06:2025 Insecure Design, A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-32441 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-32441?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-32441?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-32441 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
rack:rackbefore 2.2.14

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vpfw-47h7-xj4gRubyGemsrack<2.2.142.2.14

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11ruby-rack2.1.4-3+deb11u4DLA-4357-1
Debian12ruby-rack2.2.20-0+deb12u1DEBIAN-CVE-2025-32441
Debian13, 14ruby-rack3.0.8-2DEBIAN-CVE-2025-32441
Ubuntu24.04:LTSruby-rack2.2.7-1ubuntu0.3UBUNTU-CVE-2025-32441 USN-7507-1
Ubuntu25.10, 26.04:LTSruby-rack3.1.16-0.1UBUNTU-CVE-2025-32441
UbuntuPro:14.04:LTSruby-rack1.5.2-3+deb8u3ubuntu1~esm10UBUNTU-CVE-2025-32441 USN-7507-1
UbuntuPro:16.04:LTSruby-rack1.6.4-3ubuntu0.2+esm8UBUNTU-CVE-2025-32441 USN-7507-1
UbuntuPro:18.04:LTSruby-rack1.6.4-4ubuntu0.2+esm8UBUNTU-CVE-2025-32441 USN-7507-1
UbuntuPro:20.04:LTSruby-rack2.0.7-2ubuntu0.1+esm7UBUNTU-CVE-2025-32441 USN-7507-1
UbuntuPro:22.04:LTSruby-rack2.1.4-5ubuntu1.1+esm2UBUNTU-CVE-2025-32441 USN-7507-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Module for Public Cloud 15 SP3 and 2 morermt-server2.23-150300.3.54.1SUSE-SU-2025:02429-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise High Availability Extension 15 SP4, Linux Enterprise High Availability Extension 15 SP5 and 1 morerubygem-rack2.0.8-150000.3.31.1SUSE-SU-2025:01586-1
SUSELinux Enterprise High Availability Extension 15 SP7rubygem-rack2.0.8-150000.3.31.1SUSE-SU-2025:01586-2
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Public Cloud 15 SP4 and 4 morermt-server2.23-150400.3.42.1SUSE-SU-2025:02329-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Module for Public Cloud 15 SP5 and 4 morermt-server2.23-150500.3.34.2SUSE-SU-2025:02564-1
SUSELinux Enterprise Module for Public Cloud 15 SP7, Linux Enterprise Module for Server Applications 15 SP7rmt-server2.23-150700.3.6.1SUSE-SU-2025:02330-1
openSUSELeap 15.6rmt-server2.23-150500.3.34.2SUSE-SU-2025:02564-1
openSUSELeap 15.6rubygem-rack2.0.8-150000.3.31.1SUSE-SU-2025:01586-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel8Fix deferred
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel9Fix deferred
Red Hat 3scale API Management Platform 23scale-amp2/zync-rhel8Fix deferred
Red Hat 3scale API Management Platform 23scale-amp2/zync-rhel9Fix deferred
Red Hat Enterprise Linux 7pcsFix deferred
Red Hat Enterprise Linux 8pcsFix deferred
Red Hat Enterprise Linux 9pcsFix deferred
Red Hat Satellite 6rubygem-rackFix deferred
Red Hat Satellite 6satellite-capsule:el8/rubygem-rackFix deferred
Red Hat Satellite 6satellite:el8/rubygem-rackFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-32441.

Attack patterns (CAPEC)

  • CAPEC-26 Leveraging Race Conditions Likelihood: High · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High
  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON