Cross-site Scripting (XSS) Affecting rubygems24 package, versions <0:2.6.14.4-2.12.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.64% (80th 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-AMZN201803-RUBYGEMS24-1724663
  • published27 Sept 2021
  • disclosed18 Jan 2018

Introduced: 18 Jan 2018

CVE-2012-6708  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 rubygems24 to version 0:2.6.14.4-2.12.amzn1 or higher.
This issue was patched in ALAS-2020-1422.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygems24 package and not the rubygems24 package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

jQuery before 1.9.0 is vulnerable to Cross-site Scripting (XSS) attacks. The jQuery(strInput) function does not differentiate selectors from HTML in a reliable fashion. In vulnerable versions, jQuery determined whether the input was HTML by looking for the '<' character anywhere in the string, giving attackers more flexibility when attempting to construct a malicious payload. In fixed versions, jQuery only deems the input to be HTML if it explicitly starts with the '<' character, limiting exploitability only to attackers who can control the beginning of a string, which is far less common.

CVSS Scores

version 3.1