bson is vulnerable to denial of service due to incorrect regex validation
        
  Critical severity
        
          GitHub Reviewed
      
        Published
          Mar 5, 2018 
          to the GitHub Advisory Database
          •
          Updated Aug 25, 2023 
      
  
Description
        Published to the GitHub Advisory Database
      Mar 5, 2018 
    
  
        Reviewed
      Jun 16, 2020 
    
  
        Last updated
      Aug 25, 2023 
    
  
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.
References