CWE
79
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2018-16471: XSS

First published: Tue Nov 13 2018(Updated: )

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.

Credit: support@hackerone.com support@hackerone.com

Affected SoftwareAffected VersionHow to fix
Rack Project Rack>=1.6.0<1.6.11
Rack Project Rack>=2.0.0<2.0.6
Debian Debian Linux=8.0
rubygems/rack<1.6.11
1.6.11
rubygems/rack>=2.0.0<2.0.6
2.0.6
ubuntu/ruby-rack<1.6.4-4ubuntu0.1
1.6.4-4ubuntu0.1
ubuntu/ruby-rack<1.5.2-3+
1.5.2-3+
ubuntu/ruby-rack<1.5.2-3+<1.6.4-4+<1.6.11<2.0.6
1.5.2-3+
1.6.4-4+
1.6.11
2.0.6
ubuntu/ruby-rack<1.6.4-3ubuntu0.1
1.6.4-3ubuntu0.1
debian/ruby-rack
2.1.4-3+deb11u2
2.2.6.4-1+deb12u1
2.2.7-1.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the vulnerability ID?

    The vulnerability ID is CVE-2018-16471.

  • What is the severity of CVE-2018-16471?

    The severity of CVE-2018-16471 is medium with a severity value of 6.1.

  • How does CVE-2018-16471 affect Rack?

    CVE-2018-16471 affects Rack versions before 2.0.6 and 1.6.11.

  • What is the impact of CVE-2018-16471?

    CVE-2018-16471 allows carefully crafted requests to impact the data returned by the `scheme` method on `Rack::Request`, potentially leading to XSS vulnerabilities.

  • How do I fix CVE-2018-16471?

    To fix CVE-2018-16471, update Rack to version 2.0.6 or 1.6.11 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203