CVE-2015-4410
Moped Rubygem Data Injection Vulnerability
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2015-4410- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2015-4410- Updated
- 2026-11-02
EUVDEUVD-2020-0619 No score
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.
- Record
EUVD-2020-0619- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-f93j-hmcr-jcwh
7.5
Moped Rubygem Data Injection Vulnerability
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.
- Record
GHSA-f93j-hmcr-jcwh- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2015-4410- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2015-4410
7.5
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.
- Record
DEBIAN-CVE-2015-4410- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVGHSA-f93j-hmcr-jcwh
7.5
Moped Rubygem Data Injection Vulnerability
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.
- Record
GHSA-f93j-hmcr-jcwh- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2015-4410
7.5
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.
- Record
UBUNTU-CVE-2015-4410- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVSUSE-SU-2016:2019-1 No score
Security update for rubygem-bson-1_11, rubygem-easy_diff, rubygem-redcarpet, and rubygem-sprockets-2_11
This update for rubygem-bson-1_11, rubygem-easy_diff, rubygem-redcarpet, and rubygem-sprockets-2_11 fixes the following issues:
- Avoid monodb data injection (bnc#933961, CVE-2015-4410)
- Fixes merging of Arrays of Hashes (bsc#982364)
- Fix XSS via autolinking of untrusted markdown (bsc#926328)
- Record
SUSE-SU-2016:2019-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
mopedRubyGems |
before 1.5.3 | 1.5.3 |
mopedRubyGems |
2.0.0 up to 2.0.5 | 2.0.5 |
ruby-bsonDebian:12 |
before 1.10.0-2 | 1.10.0-2 |
ruby-bsonDebian:13 |
before 1.10.0-2 | 1.10.0-2 |
ruby-bsonDebian:14 |
before 1.10.0-2 | 1.10.0-2 |
mopedRubyGems |
before 1.5.3, plus listed versions 0.0.0.beta1.0.01.0.0.alpha1.0.0.beta1.0.0.rc Show 29 moreShow less1.0.11.1.01.1.11.1.21.1.31.1.41.1.51.1.61.2.01.2.11.2.21.2.41.2.51.2.61.2.71.2.81.2.91.3.01.3.11.3.21.4.01.4.11.4.21.4.31.4.41.4.51.5.01.5.11.5.2 |
1.5.3 |
mopedRubyGems |
2.0.0 up to 2.0.5, plus listed versions 2.0.12.0.22.0.32.0.4 |
2.0.5 |
rubygem-bson-1_11SUSE:OpenStack Cloud 5 |
before 1.11.1-9.1 | 1.11.1-9.1 |
rubygem-easy_diffSUSE:OpenStack Cloud 5 |
before 0.0.5-9.1 | 0.0.5-9.1 |
rubygem-redcarpetSUSE:OpenStack Cloud 5 |
before 3.2.3-9.1 | 3.2.3-9.1 |
rubygem-sprockets-2_11SUSE:OpenStack Cloud 5 |
before 2.11.3-11.1 | 2.11.3-11.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2015-4410 is a high vulnerability (CVSS 7.5) in Moped Project Moped, published August 9, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.66%, the 92nd percentile. Fixed in moped 1.5.3.
References
sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html
homakov.blogspot.ru/2012/05/saferweb-injects-in-various-ruby.html
lists.fedoraproject.org/pipermail/package-announce/2015-July/161987.html
lists.fedoraproject.org/pipermail/package-announce/2015-July/161964.html
bugzilla.redhat.com/show_bug.cgi?id=1229757
openwall.com/lists/oss-security/2015/06/06/3
Show 18 moreShow less
securityfocus.com/bid/75045
github.com/mongoid/moped/commit/dd5a7c14b5d2e466f7875d079af71ad19774609b
seclists.org/oss-sec/2015/q2/653
nvd.nist.gov/vuln/detail/CVE-2015-4410
github.com/rubysec/ruby-advisory-db/blob/master/gems/moped/CVE-2015-4410.yml
web.archive.org/web/20200228085849/http://www.securityfocus.com/bid/75045
github.com/advisories/GHSA-f93j-hmcr-jcwh
security-tracker.debian.org/tracker/CVE-2015-4410
github.com/mongoid/moped
suse.com/support/update/announcement/2016/suse-su-20162019-1
bugzilla.suse.com/926328
bugzilla.suse.com/933961
bugzilla.suse.com/982364
suse.com/security/cve/CVE-2015-4410
ubuntu.com/security/CVE-2015-4410
sources.debian.net/src/ruby-bson/1.10.0-1/lib/bson/types/object_id.rb
openwall.com/lists/oss-security/2015/06/06/1
cve.org/CVERecord?id=CVE-2015-4410