Rack arbitrary code execution via timing attack
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| rack RubyGems |
|
|
| Product | Affected | Fixed in |
|---|---|---|
| rack RubyGems |
|
|
1.2.81.1.6Rack::Session::Cookie in Rack 1.5.x before 1.5.2, 1.4.x before 1.4.5, 1.3.x before 1.3.10, 1.2.x before 1.2.8, and 1.1.x before 1.1.6 allows remote attackers to guess the session cookie, gain privileges, and execute arbitrary code via a timing attack involving an HMAC comparison function that does not run in constant time.
From the CVE record · redhat
Rack::Session::Cookie uses an HMAC comparison that does not run in constant time. A remote attacker can use a timing attack to guess a session cookie, gain privileges, and execute arbitrary code. The input does not specify whether authentication or user interaction is required.
Engineers running the RubyGems rack package in versions >=1.5.0 <1.5.2, >=1.4.0 <1.4.5, >=1.3.0 <1.3.10, >=1.2.0 <1.2.8, or >=1.1.0 <1.1.6 should check their installations.