RubySec

Providing security resources for the Ruby community

CVE-2015-4411 (bson): Potential denial of service in bson rubygem

ADVISORIES

GEM

bson

SEVERITY

CVSS v3: 7.5

PATCHED VERSIONS

  • >= 3.0.4

DESCRIPTION

The Moped::BSON::ObjecId.legal? method in mongodb/bson-ruby before 3.0.4 as used in rubygem-moped allows remote attackers to cause a denial of service (worker resource consumption) via a crafted string. NOTE: This issue is due to an incomplete fix to CVE-2015-4410.