Name | CVE-2018-16471 |
Description | 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' and do not escape the return value could be vulnerable to an XSS attack. Note that applications using the normal escaping mechanisms provided by Rails may not impacted, but applications that bypass the escaping mechanisms, or do not use them may be vulnerable. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1585-1 |
Debian Bugs | 913005 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
ruby-rack (PTS) | jessie, jessie (lts) | 1.5.2-3+deb8u4 | fixed |
stretch (security) | 1.6.4-4+deb9u2 | fixed | |
stretch (lts), stretch | 1.6.4-4+deb9u6 | fixed | |
buster (security), buster, buster (lts) | 2.0.6-3+deb10u4 | fixed | |
bullseye (security), bullseye | 2.1.4-3+deb11u2 | fixed | |
bookworm (security), bookworm | 2.2.6.4-1+deb12u1 | fixed | |
sid, trixie | 2.2.7-1.1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
ruby-rack | source | jessie | 1.5.2-3+deb8u2 | DLA-1585-1 | ||
ruby-rack | source | stretch | 1.6.4-4+deb9u1 | |||
ruby-rack | source | (unstable) | 1.6.4-6 | 913005 |
Fixed by: https://github.com/rack/rack/commit/e5d58031b766e49687157b45edab1b8457d972bd (master)
Fixed by: https://github.com/rack/rack/commit/313dd6a05a5924ed6c82072299c53fed09e39ae7 (2.0.6)
Fixed by: https://github.com/rack/rack/commit/97ca63d87d88b4088fb1995b14103d4fe6a5e594 (1.6.11)