Skip to content
Fencer Intel
high 7.5

CVE-2015-4410 json

Moped Rubygem Data Injection Vulnerability

published 6y ago modified 4mo ago also GHSA-f93j-hmcr-jcwh , EUVD-2020-0619

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
5.7%
EPSS 5.7% chance of exploitation in 30 days, percentile 93%
public exploits
0
none known

Summary

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.

Patch / fix

  • rubygems moped 1.5.3, 2.0.5
  • ruby-bson Debian 14, Debian 13, Debian 12 1.10.0-2

debian advisories DEBIAN-CVE-2015-4410

  • rubygem-sprockets-2_11 OpenStack Cloud 5 2.11.3-11.1
  • rubygem-bson-1_11 OpenStack Cloud 5 1.11.1-9.1
  • rubygem-easy_diff OpenStack Cloud 5 0.0.5-9.1
  • rubygem-redcarpet OpenStack Cloud 5 3.2.3-9.1

suse advisories SUSE-SU-2016:2019-1

Is CVE-2015-4410 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2015-4410 updated cvss 2.6

rubygem-moped: Denial of Service with crafted ObjectId string

  • Red Hat OpenShift Enterprise 2 ruby193-rubygem-moped
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

5.66% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/mongoid/moped/commit/dd5a7c14b5d2e466f7875d079af71ad19774609b#diff-3b93602f64c2fe46d38efd9f73ef5358R24 referenced PoC, tagged "exploit" by a source, unverified
  • sakurity.com https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html referenced PoC, tagged "exploit" by a source, unverified
  • homakov.blogspot.ru https://homakov.blogspot.ru/2012/05/saferweb-injects-in-various-ruby.html referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
rubygems moped
<1.5.3
>=2.0.0, <2.0.5
1.5.3
2.0.5

Classification

Weakness
  • CWE-20 Improper Input Validation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.