CVE-2017-16792 Geminabox contains Cross-site Scripting
Attackers can inject arbitrary web script via the homepage field in gemspec files, potentially compromising users of the Gem in a Box application.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-16792?
CVE-2017-16792 is a medium-severity cross-site scripting vulnerability in n/a, published on 13 Nov 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Stored cross-site scripting (XSS) vulnerability in "geminabox" (Gem in a Box) before 0.13.10 allows attackers to inject arbitrary web script via the "homepage" value of a ".gemspec" file, related to views/gem.erb and views/index.erb.
Weakness: CWE-79
Which versions are affected by CVE-2017-16792?
2 open source packages ship an affected version, including geminabox. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
geminabox RubyGems | All versions | 0.13.10 |
geminabox RubyGems | All versions | 0.13.10 |
Products include Geminabox Project Geminabox.
How do I fix CVE-2017-16792?
Upgrade geminabox to 0.13.10 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2017-16792 being exploited?
There is no known exploitation of CVE-2017-16792 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-653m-r33x-39ff.