Cross-site Scripting (XSS) Affecting rubygem-psych package, versions <0:2.2.2-90.el7cf


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.21% (60th 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-RUBYGEMPSYCH-3478858
  • published26 Mar 2023
  • disclosed15 Mar 2018

Introduced: 15 Mar 2018

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

How to fix?

Upgrade RHEL:7 rubygem-psych to version 0:2.2.2-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 rubygem-psych package and not the rubygem-psych package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

In the Loofah gem through 2.2.0 for Ruby, non-whitelisted HTML attributes may occur in sanitized output by republishing a crafted HTML fragment.