openEuler Security Advisory
OESA-2022-1729
rubygem-rack security update
Details
Rack provides a minimal, modular, and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call.
Security Fix(es):
Denial of Service Vulnerability in Rack Multipart Parsing(CVE-2022-30122)
Possible shell escape sequence injection vulnerability in Rack(CVE-2022-30123)
A reliance on cookies without validation/integrity check security vulnerability exists in rack < 2.2.3, rack < 2.1.4 that makes it is possible for an attacker to forge a secure or host-only cookie prefix.(CVE-2020-8184)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:20.03-LTS-SP1 | rubygem-rack | All versions before 2.2.3.1-1.oe1 (fixed in 2.2.3.1-1.oe1) |
| openEuler:20.03-LTS-SP3 | rubygem-rack | All versions before 2.2.3.1-1.oe1 (fixed in 2.2.3.1-1.oe1) |
| openEuler:22.03-LTS | rubygem-rack | All versions before 2.2.3.1-1.oe2203 (fixed in 2.2.3.1-1.oe2203) |