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.
https://www.securityfocus.com/bid/75045
https://seclists.org/oss-sec/2015/q2/653
https://bugzilla.redhat.com/show_bug.cgi?id=1229757
http://www.securityfocus.com/bid/75045
http://www.openwall.com/lists/oss-security/2015/06/06/3
http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161987.html
http://lists.fedoraproject.org/pipermail/package-announce/2015-July/161964.html