CVE-2015-4410 Moped Rubygem Data Injection Vulnerability

High 7.5 Published Updated

Remote attackers can cause denial of service or cross-site scripting via crafted strings in the Moped BSON ObjectId validation method.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2015-4410?

CVE-2015-4410 is a high-severity cross-site scripting vulnerability in Fedoraproject Fedora, published on 20 Feb 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Moped::BSON::ObjecId.legal? method in rubygem-moped before commit dd5a7c14b5d2e466f7875d079af71ad19774609b allows remote attackers to cause a denial of service (worker resource consumption) or perform a cross-site scripting (XSS) attack via a crafted string.

Weakness: CWE-20

Which versions are affected by CVE-2015-4410?

4 open source packages ship an affected version, including moped. It affects 2 products.

PackageAffectedFixed in
moped RubyGemsAll versions1.5.3
moped RubyGemsAll versions1.5.3
moped RubyGemsFrom 2.0.02.0.5
moped RubyGemsFrom 2.0.02.0.5
Linux distribution packages (4)
rubygem-bson-1_11 SUSE:OpenStack Cloud 5All versions1.11.1-9.1
rubygem-easy_diff SUSE:OpenStack Cloud 5All versions0.0.5-9.1
rubygem-redcarpet SUSE:OpenStack Cloud 5All versions3.2.3-9.1
rubygem-sprockets-2_11 SUSE:OpenStack Cloud 5All versions2.11.3-11.1

Products include Fedoraproject Fedora, Moped Project Moped.

How do I fix CVE-2015-4410?

Upgrade moped to a fixed version for your release line: 1.5.3 or 2.0.5.

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-2015-4410 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as DEBIAN-CVE-2015-4410, GHSA-f93j-hmcr-jcwh, SUSE-SU-2016:2019-1.

Is CVE-2015-4410 in your software?

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

Check your SBOMs for free