Cross-site Scripting (XSS) Affecting ruby-sinatra package, versions <2.0.8.1-1


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.16% (54th 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 Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2004-RUBYSINATRA-1194517
  • published14 Dec 2021
  • disclosed31 May 2018

Introduced: 31 May 2018

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

How to fix?

Upgrade Ubuntu:20.04 ruby-sinatra to version 2.0.8.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-sinatra package and not the ruby-sinatra package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

Sinatra before 2.0.2 has XSS via the 400 Bad Request page that occurs upon a params parser exception.