Integer Overflow or Wraparound Affecting rubygem-mongo package, versions *


Severity

Recommended
medium

Based on CentOS security rating

    Threat Intelligence

    EPSS
    1.09% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-CENTOS8-RUBYGEMMONGO-1944063
  • published 26 Jul 2021
  • disclosed 8 Nov 2019

How to fix?

There is no fixed version for Centos:8 rubygem-mongo.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem-mongo package and not the rubygem-mongo package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

An integer overflow in the search_in_range function in regexec.c in Oniguruma 6.x before 6.9.4_rc2 leads to an out-of-bounds read, in which the offset of this read is under the control of an attacker. (This only affects the 32-bit compiled version). Remote attackers can cause a denial-of-service or information disclosure, or possibly have unspecified other impact, via a crafted regular expression.

CVSS Scores

version 3.1
Expand this section

NVD

9.8 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

Red Hat

7.5 high