CVE-2017-16833 Gemirro Stored XSS in Gemspec "homepage" value

Medium 6.1 Published Updated

Attackers can inject arbitrary web script via crafted URLs in Gemirro gemspec files, potentially executing code in user browsers.

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-16833?

CVE-2017-16833 is a medium-severity cross-site scripting vulnerability in n/a, published on 15 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 Gemirro before 0.16.0 allows attackers to inject arbitrary web script via a crafted javascript: URL in the "homepage" value of a ".gemspec" file.

Weakness: CWE-79

Which versions are affected by CVE-2017-16833?

2 open source packages ship an affected version, including gemirro. It affects 1 product.

PackageAffectedFixed in
gemirro RubyGemsAll versions0.16.0
gemirro RubyGemsAll versions0.16.0

Products include Gemirro Project Gemirro.

How do I fix CVE-2017-16833?

Upgrade gemirro to 0.16.0 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-16833 being exploited?

There is no known exploitation of CVE-2017-16833 in the wild and no public exploit code.

Sources

Also known as GHSA-x7p2-x2j6-mwhr.

Is CVE-2017-16833 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free