Cross-site Scripting (XSS) Affecting ruby-doc package, versions <0:2.4.5-90.el7cf


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.11% (46th 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-RHEL7-RUBYDOC-3478963
  • published1 Nov 2021
  • disclosed22 May 2018

Introduced: 22 May 2018

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

How to fix?

Upgrade RHEL:7 ruby-doc to version 0:2.4.5-90.el7cf or higher.
This issue was patched in RHSA-2019:0212.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-doc package and not the ruby-doc package as distributed by RHEL. See How to fix? for RHEL:7 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.