CVE-2017-14506 Gem in a Box vulnerable to Cross-site Scripting
Cross-site scripting vulnerability in Gem in a Box allows attackers to execute arbitrary scripts via crafted gem metadata.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-14506?
CVE-2017-14506 is a medium-severity cross-site scripting vulnerability in n/a, published on 25 Sep 2017. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
geminabox (aka Gem in a Box) before 0.13.6 has XSS, as demonstrated by uploading a gem file that has a crafted gem.homepage value in its .gemspec file.
Weakness: CWE-79
Which versions are affected by CVE-2017-14506?
2 open source packages ship an affected version, including geminabox. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
geminabox RubyGems | All versions | 0.13.6 |
geminabox RubyGems | All versions | 0.13.6 |
Products include Geminabox Project Geminabox.
How do I fix CVE-2017-14506?
Upgrade geminabox to 0.13.6 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-14506 being exploited?
There is no known exploitation of CVE-2017-14506 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-98hq-3qvg-pg78.