ruby -- Object taint bypassing in DL and Fiddle in Ruby

2013-05-14T00:00:00
ID 79789DAA-8AF8-4E21-A47F-E8A645752BDB
Type freebsd
Reporter FreeBSD
Modified 2013-05-14T00:00:00

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.