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.
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
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
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.