CVE-2015-4410
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.
What to do
Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | ruby-bson | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | ruby-bson | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | ruby-bson | Fix pending | ||
| Debian 14 | ruby-bson | Fixed | 1.10.0-2 | DEBIAN-CVE-2015-4410 |
| Debian 13 | ruby-bson | Fixed | 1.10.0-2 | DEBIAN-CVE-2015-4410 |
| Debian 12 | ruby-bson | Fixed | 1.10.0-2 | DEBIAN-CVE-2015-4410 |
| RubyGems library | moped | Fixed | 2.0.5 | GHSA-f93j-hmcr-jcwh |
References
- https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html
- https://homakov.blogspot.ru/2012/05/saferweb-injects-in-various-ruby.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161987.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161964.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1229757
- http://www.openwall.com/lists/oss-security/2015/06/06/3
- http://www.securityfocus.com/bid/75045
- https://github.com/mongoid/moped/commit/dd5a7c14b5d2e466f7875d079af71ad19774609b#diff-3b93602f64c2fe46d38efd9f73ef5358R24
- https://seclists.org/oss-sec/2015/q2/653
- https://www.securityfocus.com/bid/75045
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.