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 FencerVendor 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-mopednot 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
-
github.com
/mongoid/moped/commit/dd5a7c14b5d2e466f7875d079af71ad19774609b#diff-3b93602f64c2fe46d38efd9f73ef5358R24
web, exploit
-
sakurity.com
/blog/2015/06/04/mongo_ruby_regexp.html
web, exploit, third-party-advisory
-
homakov.blogspot.ru
/2012/05/saferweb-injects-in-various-ruby.html
web, exploit, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-July/161987.html
web, mailing-list, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-July/161964.html
web, mailing-list, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1229757
web, issue-tracking, third-party-advisory
-
openwall.com
/lists/oss-security/2015/06/06/3
web, mailing-list, third-party-advisory
-
securityfocus.com
/bid/75045
third-party-advisory, vdb-entry
-
seclists.org
/oss-sec/2015/q2/653
web, mailing-list, third-party-advisory
-
securityfocus.com
/bid/75045
third-party-advisory, vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2015-4410
advisory
-
github.com
/mongoid/moped
web
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/moped/CVE-2015-4410.yml
web
-
web.archive.org
/web/20200228085849/http://www.securityfocus.com/bid/75045
web
-
sakurity.com
/blog/2015/06/04/mongo_ruby_regexp.html
web
Sources
- CVE List CVE-2015-4410
- GitHub Advisory GHSA-f93j-hmcr-jcwh
- NVD CVE-2015-4410
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.