Skip to content
OpenAdvisories
Critical · 9.8 CVE-2015-4412 EUVD-2018-0180GHSA-h6rj-8r3c-9gpj

bson is vulnerable to denial of service due to incorrect regex validation

Published Feb 5, 2018 · Updated Aug 6, 2024 · Assigned by mitre

Description

BSON injection vulnerability in the legal? function in BSON (bson-ruby) gem before 3.0.4 for Ruby allows remote attackers to cause a denial of service (resource consumption) or inject arbitrary data via a crafted string.

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems bson < 1.12.3 1.12.3 GHSA-h6rj-8r3c-9gpj
RubyGems bson >= 2.0, < 3.0.4 3.0.4 GHSA-h6rj-8r3c-9gpj

References