GitHub Advisoryadvisory · RubyGems
GHSA-f93j-hmcr-jcwh Moped Rubygem Data Injection Vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2015-4410
- Ecosystem
- RubyGems
- Packages
- moped
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-20
- Reviewed
- 2020-08-14
Affected packages
• RubyGems moped: < 1.5.3 → fixed in 1.5.3
• RubyGems moped: >= 2.0.0, < 2.0.5 → fixed in 2.0.5
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.
Related
Alias · CVE (1)
- CVE-2015-4410 The Moped::BSON::ObjecId.legal? vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-4410 advisory
- https://github.com/mongoid/moped/commit/dd5a7c14b5d2e466f7875d079af71ad19774609b#diff-3b93602f64c2fe46d38efd9f73ef5358R24 web
- https://bugzilla.redhat.com/show_bug.cgi?id=1229757 web
- https://github.com/mongoid/moped web
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/moped/CVE-2015-4410.yml web
- https://homakov.blogspot.ru/2012/05/saferweb-injects-in-various-ruby.html web
- https://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html web
- https://seclists.org/oss-sec/2015/q2/653 web
- https://web.archive.org/web/20200228085849/http://www.securityfocus.com/bid/75045 web
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161964.html web
- http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161987.html web
- http://sakurity.com/blog/2015/06/04/mongo_ruby_regexp.html web
- http://www.openwall.com/lists/oss-security/2015/06/06/3 web