Medium severity6.1NVD Advisory· Published Nov 13, 2018· Updated Jun 17, 2026
CVE-2018-16471
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
rackRubyGems | >= 2.0.0, < 2.0.6 | 2.0.6 |
rackRubyGems | < 1.6.11 | 1.6.11 |
Affected products
14- ghsa-coords11 versionspkg:gem/rackpkg:rpm/opensuse/ruby3.2-rubygem-rack&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/ruby3.2-rubygem-rack-2.2&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/rubygem-rack&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/rubygem-rack&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/rubygem-rack-2.2&distro=openSUSE%20Tumbleweedpkg:rpm/suse/rubygem-rack&distro=SUSE%20Enterprise%20Storage%204pkg:rpm/suse/rubygem-rack&distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015pkg:rpm/suse/rubygem-rack&distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015%20SP1pkg:rpm/suse/rubygem-rack&distro=SUSE%20OpenStack%20Cloud%207pkg:rpm/suse/rubygem-rack&distro=SUSE%20OpenStack%20Cloud%20Crowbar%208
>= 2.0.0, < 2.0.6+ 10 more
- (no CPE)range: >= 2.0.0, < 2.0.6
- (no CPE)range: < 3.0.7-1.2
- (no CPE)range: < 2.2.7-1.1
- (no CPE)range: < 2.0.8-lp151.3.3.1
- (no CPE)range: < 2.2.3.1-1.1
- (no CPE)range: < 2.2.4-1.1
- (no CPE)range: < 1.6.11-3.3.1
- (no CPE)range: < 2.0.8-3.3.1
- (no CPE)range: < 2.0.8-3.3.1
- (no CPE)range: < 1.6.11-3.3.1
- (no CPE)range: < 1.6.11-3.3.1
Patches
Vulnerability mechanics
References
11- github.com/advisories/GHSA-5r2p-j47h-mhpgghsaADVISORY
- lists.debian.org/debian-lts-announce/2018/11/msg00022.htmlnvdMailing ListThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2018-16471ghsaADVISORY
- lists.opensuse.org/opensuse-security-announce/2019-06/msg00032.htmlnvdWEB
- lists.opensuse.org/opensuse-security-announce/2020-02/msg00016.htmlnvdWEB
- github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2018-16471.ymlghsaWEB
- groups.google.com/forum/ghsaWEB
- groups.google.com/forum/ghsaWEB
- usn.ubuntu.com/4089-1ghsaWEB
- groups.google.com/forum/nvd
- usn.ubuntu.com/4089-1/nvd
News mentions
0No linked articles in our index yet.