rack
RubyGems43 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting rackpage 1 of 1
- CVE-2011-5036NONECVSS 0.0EG 0.0✓ Fixed in 1.3.62011-12-30
vulnerable: 1.3.0 ... 1.3.5 (6 versions)
Rack before 1.1.3, 1.2.x before 1.2.5, and 1.3.x before 1.3.6 computes hash values for form parameters without restricting the ability to trigger hash collisions predictably, which allows remote attackers to cause a denial of service (CPU …
- CVE-2012-6109NONECVSS 0.0EG 0.0✓ Fixed in 1.4.22013-03-01
vulnerable: 1.4.0, 1.4.1
lib/rack/multipart.rb in Rack before 1.1.4, 1.2.x before 1.2.6, 1.3.x before 1.3.7, and 1.4.x before 1.4.2 uses an incorrect regular expression, which allows remote attackers to cause a denial of service (infinite loop) via a crafted Conte…
- CVE-2013-0183NONECVSS 0.0EG 0.0✓ Fixed in 1.4.32013-03-01
vulnerable: 1.4.0, 1.4.1, 1.4.2
multipart/parser.rb in Rack 1.3.x before 1.3.8 and 1.4.x before 1.4.3 allows remote attackers to cause a denial of service (memory consumption and out-of-memory error) via a long string in a Multipart HTTP packet.
- CVE-2013-0184NONECVSS 0.0EG 0.0✓ Fixed in 1.4.42013-03-01
vulnerable: 1.4.0, 1.4.1, 1.4.2, 1.4.3
Unspecified vulnerability in Rack::Auth::AbstractRequest in Rack 1.1.x before 1.1.5, 1.2.x before 1.2.7, 1.3.x before 1.3.9, and 1.4.x before 1.4.4 allows remote attackers to cause a denial of service via unknown vectors related to "symbol…
- CVE-2013-0262NONECVSS 0.0EG 0.0✓ Fixed in 1.4.52013-02-08
vulnerable: 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4
rack/file.rb (Rack::File) in Rack 1.5.x before 1.5.2 and 1.4.x before 1.4.5 allows attackers to access arbitrary files outside the intended root directory via a crafted PATH_INFO environment variable, probably a directory traversal vulnera…
- CVE-2013-0263NONECVSS 0.0EG 0.0✓ Fixed in 1.1.62013-02-08
vulnerable: 1.1.0 ... 1.1.5 (7 versions)
Rack::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 ti…
- CVE-2015-3225NONECVSS 0.0EG 0.0✓ Fixed in 1.4.62015-07-26
vulnerable: 1.4.0 ... 1.4.5 (6 versions)
lib/rack/utils.rb in Rack before 1.5.4 and 1.6.x before 1.6.2, as used with Ruby on Rails 3.x and 4.x and other products, allows remote attackers to cause a denial of service (SystemStackError) via a request with a large parameter depth.
- CVE-2018-16470HIGHCVSS 7.5EG 7.5✓ Fixed in 2.0.62018-11-13
vulnerable: 2.0.4, 2.0.5
There is a possible DoS vulnerability in the multipart parser in Rack before 2.0.6. Specially crafted requests can cause the multipart parser to enter a pathological state, causing the parser to use CPU resources disproportionate to the re…
- CVE-2018-16471MEDIUMCVSS 6.1EG 6.1✓ Fixed in 1.6.112018-11-13
vulnerable: 0.1.0 ... 1.6.9 (67 versions)
There is a possible XSS vulnerability in Rack before 2.0.6 and 1.6.11. Carefully crafted requests can impact the data returned by the `scheme` method on `Rack::Request`. Applications that expect the scheme to be limited to 'http' or 'https…
- CVE-2019-16782MEDIUMCVSS 6.3EG 6.3✓ Fixed in 2.0.82019-12-18
vulnerable: 2.0.1 ... 2.0.7 (7 versions)
There's a possible information leak / session hijack vulnerability in Rack (RubyGem rack). This vulnerability is patched in versions 1.6.12 and 2.0.8. Attackers may be able to find and hijack sessions by using timing attacks targeting the …
- CVE-2020-8161HIGHCVSS 8.6EG 8.6✓ Fixed in 2.1.32020-07-02
vulnerable: 0.1.0 ... 2.1.2 (87 versions)
A directory traversal vulnerability exists in rack < 2.2.0 that allows an attacker perform directory traversal vulnerability in the Rack::Directory app that is bundled with Rack which could result in information disclosure.
- CVE-2020-8184HIGHCVSS 7.5EG 7.5✓ Fixed in 2.2.32020-06-19
vulnerable: 2.2.0, 2.2.1, 2.2.2
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-2022-30122HIGHCVSS 7.5EG 7.5✓ Fixed in 2.2.3.12022-12-05
vulnerable: 2.2.0, 2.2.1, 2.2.2, 2.2.3
A possible denial of service vulnerability exists in Rack <2.0.9.1, <2.1.4.1 and <2.2.3.1 in the multipart parsing component of Rack.
- CVE-2022-30123CRITICALCVSS 10.0EG 10.0✓ Fixed in 2.2.3.12022-12-05
vulnerable: 2.2.0, 2.2.1, 2.2.2, 2.2.3
A sequence injection vulnerability exists in Rack <2.0.9.1, <2.1.4.1 and <2.2.3.1 which could allow is a possible shell escape in the Lint and CommonLogger components of Rack.
- CVE-2022-44570HIGHCVSS 7.5EG 7.5✓ Fixed in 3.0.4.12023-02-09
vulnerable: 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4
A denial of service vulnerability in the Range header parsing component of Rack >= 1.5.0. A Carefully crafted input can cause the Range header parsing component in Rack to take an unexpected amount of time, possibly resulting in a denial o…
- CVE-2022-44571HIGHCVSS 7.5EG 7.5✓ Fixed in 3.0.4.12023-02-09
vulnerable: 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4
There is a denial of service vulnerability in the Content-Disposition parsingcomponent of Rack fixed in 2.0.9.2, 2.1.4.2, 2.2.4.1, 3.0.0.1. This could allow an attacker to craft an input that can cause Content-Disposition header parsing in…
- CVE-2022-44572HIGHCVSS 7.5EG 7.5✓ Fixed in 3.0.4.12023-02-09
vulnerable: 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4
A denial of service vulnerability in the multipart parsing component of Rack fixed in 2.0.9.2, 2.1.4.2, 2.2.4.1 and 3.0.0.1 could allow an attacker tocraft input that can cause RFC2183 multipart boundary parsing in Rack to take an unexpect…
- CVE-2023-27530HIGHCVSS 7.5EG 7.5✓ Fixed in 3.0.4.22023-03-10
vulnerable: 3.0.0 ... 3.0.4.1 (6 versions)
A DoS vulnerability exists in Rack <v3.0.4.2, <v2.2.6.3, <v2.1.4.3 and <v2.0.9.3 within in the Multipart MIME parsing code in which could allow an attacker to craft requests that can be abuse to cause multipart parsing to take longer than …
- CVE-2023-27539MEDIUMCVSS 5.3EG 5.3✓ Fixed in 2.2.6.42025-01-09
vulnerable: 2.0.1 ... 2.2.6.3 (33 versions)
There is a denial of service vulnerability in the header parsing component of Rack.
- CVE-2024-25126MEDIUMCVSS 5.3EG 5.3✓ Fixed in 2.2.8.12024-02-29
vulnerable: 0.4.0 ... 2.2.8 (105 versions)
Rack is a modular Ruby web server interface. Carefully crafted content type headers can cause Rack’s media type parser to take much longer than expected, leading to a possible denial of service vulnerability (ReDos 2nd degree polynomial)…
- CVE-2024-26141MEDIUMCVSS 5.8EG 5.8✓ Fixed in 2.2.8.12024-02-29
vulnerable: 1.3.0 ... 2.2.8 (81 versions)
Rack is a modular Ruby web server interface. Carefully crafted Range headers can cause a server to respond with an unexpectedly large response. Responding with such large responses could lead to a denial of service issue. Vulnerable applic…
- CVE-2024-26146MEDIUMCVSS 5.3EG 5.3✓ Fixed in 2.0.9.42024-02-29
vulnerable: 0.1.0 ... 2.0.9.3 (84 versions)
Rack is a modular Ruby web server interface. Carefully crafted headers can cause header parsing in Rack to take longer than expected resulting in a possible denial of service issue. Accept and Forwarded headers are impacted. Ruby 3.2 has m…
- CVE-2024-39316MEDIUMCVSS 6.5EG 6.5✓ Fixed in 3.1.52024-07-02
vulnerable: 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4
Rack is a modular Ruby web server interface. Starting in version 3.1.0 and prior to version 3.1.5, Regular Expression Denial of Service (ReDoS) vulnerability exists in the `Rack::Request::Helpers` module when parsing HTTP Accept headers. T…
- CVE-2025-25184MEDIUMCVSS 6.5EG 6.5✓ Fixed in 2.2.112025-02-12
vulnerable: 0.1.0 ... 2.2.9 (111 versions)
Rack provides an interface for developing web applications in Ruby. Prior to versions 2.2.11, 3.0.12, and 3.1.10, Rack::CommonLogger can be exploited by crafting input that includes newline characters to manipulate log entries. The supplie…
- CVE-2025-27111HIGHCVSS 7.5EG 7.5✓ Fixed in 2.2.122025-03-04
vulnerable: 0.1.0 ... 2.2.9 (112 versions)
Rack is a modular Ruby web server interface. The Rack::Sendfile middleware logs unsanitised header values from the X-Sendfile-Type header. An attacker can exploit this by injecting escape sequences (such as newline characters) into the hea…
- CVE-2025-27610HIGHCVSS 7.5EG 7.5✓ Fixed in 2.2.132025-03-10
vulnerable: 0.1.0 ... 2.2.9 (113 versions)
Rack provides an interface for developing web applications in Ruby. Prior to versions 2.2.13, 3.0.14, and 3.1.12, `Rack::Static` can serve files under the specified `root:` even if `urls:` are provided, which may expose other files under t…
- CVE-2025-32441MEDIUMCVSS 4.2EG 4.2✓ Fixed in 2.2.142025-05-07
vulnerable: 0.1.0 ... 2.2.9 (114 versions)
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 sess…
- CVE-2025-46727HIGHCVSS 7.5EG 7.5✓ Fixed in 2.2.142025-05-07
vulnerable: 0.1.0 ... 2.2.9 (114 versions)
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 …
- CVE-2025-49007MEDIUMCVSS 5.3EG 5.3✓ Fixed in 3.1.162025-06-04
vulnerable: 3.1.0 ... 3.1.9 (16 versions)
Rack is a modular Ruby web server interface. Starting in version 3.1.0 and prior to version 3.1.16, there is a denial of service vulnerability in the Content-Disposition parsing component of Rack. This is very similar to the previous secur…
- CVE-2025-61780MEDIUMCVSS 5.8EG 5.8✓ Fixed in 2.2.202025-10-10
vulnerable: 0.1.0 ... 2.2.9 (120 versions)
Rack is a modular Ruby web server interface. Prior to versions 2.2.20, 3.1.18, and 3.2.3, a possible information disclosure vulnerability existed in `Rack::Sendfile` when running behind a proxy that supports `x-sendfile` headers (such as N…
- CVE-2026-26961LOWCVSS 3.7EG 3.7✓ Fixed in 3.2.62026-04-02
vulnerable: 3.2.0 ... 3.2.5 (6 versions)
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Multipart::Parser extracts the boundary parameter from multipart/form-data using a greedy regular expression. When a Content-Type header contai…
- CVE-2026-26962MEDIUMCVSS 4.8EG 4.8✓ Fixed in 3.2.62026-04-02
vulnerable: 3.2.0 ... 3.2.5 (6 versions)
Rack is a modular Ruby web server interface. From version 3.2.0 to before version 3.2.6, Rack::Multipart::Parser unfolds folded multipart part headers incorrectly. When a multipart header contains an obs-fold sequence, Rack preserves the e…
- CVE-2026-32762MEDIUMCVSS 4.8EG 4.8✓ Fixed in 3.2.62026-04-02
vulnerable: 3.2.0 ... 3.2.5 (6 versions)
Rack is a modular Ruby web server interface. From versions 3.0.0.beta1 to before 3.1.21 and 3.2.0 to before 3.2.6, Rack::Utils.forwarded_values parses the RFC 7239 Forwarded header by splitting on semicolons before handling quoted-string v…
- CVE-2026-34230MEDIUMCVSS 5.3EG 5.3✓ Fixed in 3.2.62026-04-02
vulnerable: 3.2.0 ... 3.2.5 (6 versions)
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Utils.select_best_encoding processes Accept-Encoding values with quadratic time complexity when the header contains many wildcard (*) entries. …
- CVE-2026-34763MEDIUMCVSS 5.3EG 5.3✓ Fixed in 3.2.62026-04-02
vulnerable: 3.2.0 ... 3.2.5 (6 versions)
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Directory interpolates the configured root path directly into a regular expression when deriving the displayed directory path. If root contains…
- CVE-2026-34785HIGHCVSS 7.5EG 7.5✓ Fixed in 3.2.62026-04-02
vulnerable: 3.2.0 ... 3.2.5 (6 versions)
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Static determines whether a request should be served as a static file using a simple string prefix check. When configured with URL prefixes suc…
- CVE-2026-34786MEDIUMCVSS 5.3EG 5.3✓ Fixed in 3.2.62026-04-02
vulnerable: 3.2.0 ... 3.2.5 (6 versions)
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Static#applicable_rules evaluates several header_rules types against the raw URL-encoded PATH_INFO, while the underlying file-serving path is d…
- CVE-2026-34826MEDIUMCVSS 5.3EG 5.3✓ Fixed in 3.2.62026-04-02
vulnerable: 3.2.0 ... 3.2.5 (6 versions)
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Utils.get_byte_ranges parses the HTTP Range header without limiting the number of individual byte ranges. Although the existing fix for CVE-202…
- CVE-2026-34827HIGHCVSS 7.5EG 7.5✓ Fixed in 3.2.62026-04-02
vulnerable: 3.2.0 ... 3.2.5 (6 versions)
Rack is a modular Ruby web server interface. From versions 3.0.0.beta1 to before 3.1.21, and 3.2.0 to before 3.2.6, Rack::Multipart::Parser#handle_mime_head parses quoted multipart parameters such as Content-Disposition: form-data; name=".…
- CVE-2026-34829HIGHCVSS 7.5EG 7.5✓ Fixed in 3.2.62026-04-02
vulnerable: 3.2.0 ... 3.2.5 (6 versions)
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Multipart::Parser only wraps the request body in a BoundedIO when CONTENT_LENGTH is present. When a multipart/form-data request is sent without…
- CVE-2026-34830MEDIUMCVSS 5.9EG 5.9✓ Fixed in 3.2.62026-04-02
vulnerable: 3.2.0 ... 3.2.5 (6 versions)
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Sendfile#map_accel_path interpolates the value of the X-Accel-Mapping request header directly into a regular expression when rewriting file pat…
- CVE-2026-34831MEDIUMCVSS 4.8EG 4.8✓ Fixed in 3.2.62026-04-02
vulnerable: 3.2.0 ... 3.2.5 (6 versions)
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Files#fail sets the Content-Length response header using String#size instead of String#bytesize. When the response body contains multibyte UTF-…
- CVE-2026-34835MEDIUMCVSS 4.8EG 4.8✓ Fixed in 3.2.62026-04-02
vulnerable: 3.2.0 ... 3.2.5 (6 versions)
Rack is a modular Ruby web server interface. From versions 3.0.0.beta1 to before 3.1.21, and 3.2.0 to before 3.2.6, Rack::Request parses the Host header using an AUTHORITY regular expression that accepts characters not permitted in RFC-com…
Check whether rack is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for rack CVEs against the assets you own.
Start Free Scan →