Cross-site Scripting (XSS) The advisory has been revoked - it doesn't affect any version of package ruby2.5-rubygem-rack-testsuite  (opens in a new tab)


Threat Intelligence

EPSS
1.89% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES151-RUBY25RUBYGEMRACKTESTSUITE-2716346
  • published14 Apr 2022
  • disclosed7 Feb 2020

Introduced: 7 Feb 2020

CVE-2018-16471  (opens in a new tab)
CWE-79  (opens in a new tab)

Amendment

The SLES security team deemed this advisory irrelevant for SLES:15.1.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby2.5-rubygem-rack-testsuite package and not the ruby2.5-rubygem-rack-testsuite package as distributed by SLES.

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.