FreeBSD : ruby -- Object taint bypassing in DL and Fiddle in Ruby (79789daa-8af8-4e21-a47f-e8a645752bdb)

medium Nessus Plugin ID 66632

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

Ruby Developers report :

There is a vulnerability in DL and Fiddle in Ruby where tainted strings can be used by system calls regardless of the $SAFE level set in Ruby.

Native functions exposed to Ruby with DL or Fiddle do not check the taint values set on the objects passed in. This can result in tainted objects being accepted as input when a SecurityError exception should be raised.

Solution

Update the affected package.

See Also

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

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

Plugin Details

Severity: Medium

ID: 66632

File Name: freebsd_pkg_79789daa8af84e21a47fe8a645752bdb.nasl

Version: 1.7

Type: local

Published: 5/28/2013

Updated: 1/6/2021

Risk Information

VPR

Risk Factor: Low

Score: 3.7

CVSS v2

Risk Factor: Medium

Base Score: 6.4

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:ruby19, cpe:/o:freebsd:freebsd

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

Patch Publication Date: 5/26/2013

Vulnerability Publication Date: 5/14/2013

Reference Information

CVE: CVE-2013-2065