The Ruby programming language, which has become popular as the basis for Web 2.0 sites such as Twitter, contains serious security flaws that could allow attackers to take over an organization's Web server, according to the Ruby development team.
The "disturbing" flaws, which were disclosed on Friday, could affect nearly any typical Ruby-based Web application, according to Thomas Ptacek, founder of security firm Matasano.
The five bugs affect Ruby version 1.8 up to 1.8.7-p21 and version 1.9 up to 1.9.0-1, according to the Ruby development team.
Users can remedy the problem by upgrading to a patched version of Ruby, developers said, with patches available on the Ruby language site.
Popular websites such as Twitter, Scribd, Hulu and the Facebook application Friends for Sale use Ruby, along with the Rails framework, to deploy sophisticated features.
At least three of the published vulnerabilities are easily exploitable and allow normal Ruby code to corrupt the memory of the standard interpreter MRI, Matasano's Ptacek said in an advisory on Friday.
"They involve integer handling errors in the native code backing Ruby's Array, String, and Bignum classes," Ptacek wrote. "These are core classes in Ruby, and don't depend on the libraries or extensions that programs load."
He said organizations running Ruby-based Web applications should upgrade their servers as soon as possible.
"Why is this so disturbing? These vulnerabilities are likely to crop up in just about any average Ruby Web application," he wrote. "The conditions under which the vulnerabilities are exploitable depend on the Ruby programs you are running. But don't gamble. Update as soon as you can."
Techworld is an InfoWorld affiliate.
This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.
Download now »Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.
Download now »
The emergence of WLANs has created a new breed of security threats to enterprise networks.
Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation
Effectively address data protection challenges, implementing solutions that help store and protect businesscritical data while cutting costs and improving efficiency and reliability.
Download now »
Sign up to receive InfoWorld Resource Alerts
