Cross-site Scripting (XSS) Affecting gemirro package, versions <0.15.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.81% (53rd 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-RUBY-GEMIRRO-20445
  • published15 Nov 2017
  • disclosed14 Nov 2017
  • creditYasin Soliman

Introduced: 14 Nov 2017

CVE-2017-16833  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade gemirro to version 0.15.0 or higher.

Overview

gemirro is Create your own gems mirror.

Affected versions of the package are vulnerable to Cross-site Scripting (XSS). An attacker may be able to inject arbitrary web script via a crafted JavaScript URL in the homepage value of a gemspec file. A .gemspec file must be created with a JavaScript URL in the homepage value. This can be used to build a gem for upload to the Gemirro server, in order to achieve stored XSS via the author name hyperlink.

Details

<>

You can read more about Cross-site Scripting (XSS) on our blog.

References

CVSS Base Scores

version 3.1