Moderate severityNVD Advisory· Published Nov 13, 2018· Updated Aug 5, 2024
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
12- ghsa-coords11 versionspkg:gem/rackpkg:rpm/opensuse/ruby3.2-rubygem-rack-2.2&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/ruby3.2-rubygem-rack&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/rubygem-rack-2.2&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/rubygem-rack&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/rubygem-rack&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: < 2.2.7-1.1
- (no CPE)range: < 3.0.7-1.2
- (no CPE)range: < 2.2.4-1.1
- (no CPE)range: < 2.0.8-lp151.3.3.1
- (no CPE)range: < 2.2.3.1-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- lists.opensuse.org/opensuse-security-announce/2019-06/msg00032.htmlghsavendor-advisoryx_refsource_SUSEWEB
- lists.opensuse.org/opensuse-security-announce/2020-02/msg00016.htmlghsavendor-advisoryx_refsource_SUSEWEB
- github.com/advisories/GHSA-5r2p-j47h-mhpgghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2018-16471ghsaADVISORY
- usn.ubuntu.com/4089-1/mitrevendor-advisoryx_refsource_UBUNTU
- github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2018-16471.ymlghsaWEB
- groups.google.com/forum/ghsaWEB
- groups.google.com/forum/ghsaWEB
- groups.google.com/forum/mitrex_refsource_MISC
- lists.debian.org/debian-lts-announce/2018/11/msg00022.htmlghsamailing-listx_refsource_MLISTWEB
- usn.ubuntu.com/4089-1ghsaWEB
News mentions
0No linked articles in our index yet.