CVE-2025-32441
Beskrivelse
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.
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
- Publisert
- 2025-05-07
- Sist endret
- 2026-06-17
- Tildelt av
- security-advisories@github.com
- CVSS-vektor
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N- Scoret av
- nvd@nist.gov (NVD Primary)
- Sannsynlighet for utnyttelse
-
0.2 %
høyere enn 12 %
av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15 - Rettelse finnes
- Ja, se referansene
Berørte produkter
| Leverandør | Produkt | Versjoner | Status |
|---|---|---|---|
| rack (RubyGems) | < 2.2.14 | Berørt | |
| Rack | Rack | < 2.2.14 | Berørt |
Svakhetstype
-
CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating …
-
CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.
-
CWE-613: DEPRECATED: Insufficient Session Expiration
This entry has been deprecated because it was insufficiently clear. Consider CWE-1462 and its descendants.
Referanser
- https://github.com/rack/rack/blob/v2.2.13/lib/rack/session/abstract/id.rb#L263-L270
- https://github.com/rack/rack/commit/c48e52f7c57e99e1e1bf54c8760d4f082cd1c89d
- https://github.com/rack/rack/security/advisories/GHSA-vpfw-47h7-xj4g
Relatert hos Berigo
Artikler
-
Angripere logger seg inn på Mac-er uten passord gjennom skjermdeling
Samme produkt
2026-08-15
Apple hasteoppdaterte skjermdeling i macOS etter en feil som lar en angriper på nettverket logge seg inn uten gyldige påloggingsopplysninger. Nederla…
-
Bad Epoll gir root-tilgang i Linux-kjernen
Samme produkt
2026-07-03
CVE-2026-46242 er en use-after-free i Linux-kjernens epoll som lar en uprivilegert prosess skaffe seg root på servere, klienter og Android-enheter.
-
Internasjonal politioperasjon slo ut VPN-tjenesten First VPN
Samme produkt
2026-05-21
En operasjon ledet av Frankrike og Nederland har tatt ned First VPN, en tjeneste som har gått igjen i Europols kriminalitetssaker.
-
CrackArmor: ni sårbarheter i AppArmor gir root og containerutbrudd
Samme produkt
2026-03-13
Qualys har offentliggjort ni sårbarheter i AppArmor som har ligget der siden 2017 og berører over 12,6 millioner virksomhetssystemer.
Berører dette dere?
En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.