FreeBSD : ruby -- BigDecimal denial of service vulnerability (62e0fbe5-5798-11de-bb78-001cc0377035)

medium Nessus Plugin ID 39375
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

The official ruby site reports :

A denial of service (DoS) vulnerability was found on the BigDecimal standard library of Ruby. Conversion from BigDecimal objects into Float numbers had a problem which enables attackers to effectively cause segmentation faults.

An attacker can cause a denial of service by causing BigDecimal to parse an insanely large number, such as :

BigDecimal('9E69999999').to_s('F')

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?d9c7b7be

http://www.nessus.org/u?87876221

Plugin Details

Severity: Medium

ID: 39375

File Name: freebsd_pkg_62e0fbe5579811debb78001cc0377035.nasl

Version: 1.18

Type: local

Published: 6/15/2009

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 4.3

Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P

Temporal Vector: E:ND/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:ruby, p-cpe:/a:freebsd:freebsd:ruby+oniguruma, p-cpe:/a:freebsd:freebsd:ruby+pthreads, p-cpe:/a:freebsd:freebsd:ruby+pthreads+oniguruma, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Ease: No known exploits are available

Patch Publication Date: 6/13/2009

Vulnerability Publication Date: 6/9/2009

Reference Information

CVE: CVE-2009-1904

BID: 35278

CWE: 189