Back to CVE catalog
CVE-2011-0188

Ruby BigDecimal VpMemAlloc integer truncation

Multiple products

At a glance

The VpMemAlloc function in bigdecimal.c in the BigDecimal class in Ruby 1.9.2-p136 and earlier, as used on Apple Mac OS X before 10.6.7 and other platforms, does not properly allocate memory, which allows context-dependent attackers to execute arbitrary code or cause a denial of service (application crash) via vectors involving creation of a large BigDecimal value within a 64-bit process, related to an "integer truncation issue."

Source description · CVE List / CNA

System impact

Attack complexityMedium
ConfidentialityPartial
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

6.8Medium
Published:
Updated:
EPSS:
3.025%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Related CWE

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:ruby-langruby
Environments (16)
  • cpe:2.3:o:apple:mac_os_x:10.5.8:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:mac_os_x:10.6.0:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:mac_os_x:10.6.1:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:mac_os_x:10.6.2:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:mac_os_x:10.6.3:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:mac_os_x:10.6.4:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:mac_os_x:10.6.5:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:mac_os_x:10.6.6:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:mac_os_x_server:10.5.8:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:mac_os_x_server:10.6.0:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:mac_os_x_server:10.6.1:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:mac_os_x_server:10.6.2:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:mac_os_x_server:10.6.3:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:mac_os_x_server:10.6.4:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:mac_os_x_server:10.6.5:*:*:*:*:*:*:*
  • cpe:2.3:o:apple:mac_os_x_server:10.6.6:*:*:*:*:*:*:*
Affected versions:
≤ 1.9.2-p136Show full version range for ruby
1.91.9.01.9.0-01.9.0-11.9.0-21.9.0-200604151.9.0-200707091.9.11.9.2
Vendor:oraclelinuxruby
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:1.8.5-19.el5_6.1
Vendor:oraclelinuxruby-devel
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:1.8.5-19.el5_6.1
Vendor:oraclelinuxruby-docs
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:1.8.5-19.el5_6.1
Vendor:oraclelinuxruby-irb
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:1.8.5-19.el5_6.1
Vendor:oraclelinuxruby-libs
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:1.8.5-19.el5_6.1
Vendor:oraclelinuxruby-mode
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:1.8.5-19.el5_6.1
Vendor:oraclelinuxruby-rdoc
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:1.8.5-19.el5_6.1
Vendor:oraclelinuxruby-ri
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:1.8.5-19.el5_6.1
Vendor:oraclelinuxruby-tcltk
Environments (1)
  • cpe:/o:oracle:linux:5
Affected versions:
< 0:1.8.5-19.el5_6.1

1–10 of 50 · Page 1 of 5

CVSS scores and metrics4
[email protected] · NVD (Primary)Primary6.8 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:P/I:P/A:P
nvd · Wazuh CTI (cna)6.8 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:P/I:P/A:P
oraclelinux · Wazuh CTI (adp)6.8 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:P/I:P/A:P
redhat · Wazuh CTI (adp)5.1 / 10MediumCVSS 2.0Details
Attack complexity
High
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:H/Au:N/C:P/I:P/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories20

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences