Ruby creators warn of serious flaws

By Matthew Broersma, Techworld.com |  Security, Ruby, vulnerabilities Add a new comment

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."

ITworld LIVE

SecurityWhite Papers & Webcasts

Webcast On Demand

Seven Deadly Sins of Cloud Security (Video)

As cloud computing gains popularity, too few people are aware of the security threats that are emerging. In this short video, experts from HP discuss the latest cloud security threats and explain measures to help overcome them. Hear about the seven deadly sins of cloud security and learn how to avoid becoming a victim of poor security in your cloud environment.Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries.

Sponsor: HP & Intel

White Paper

Establishing a Strategy for Database Security is No Longer Optional

The options for securing increasingly valuable databases are very broad and deep, and can be confusing. This research provides an overview of three categories of controls that should be implemented to ensure that enterprise data is protected in the most efficient and effective manner.

White Paper

Database Activity Monitoring Is Evolving

Read the analyst report and learn how you can leverage the core capabilities of a DAP solution for better database security.

White Paper

Protecting Against Database Attacks and Insider Threats: Top 5 Scenarios

Read this new eBook to learn the top five scenarios and essential best practices for preventing database attacks and insider threats.

Webcast On Demand

Distributed Database Security with Real-time Monitoring

View this demo and learn how IBM InfoSphere Guardium database activity monitoring can help protect your sensitive data in distributed DBMS environments with a holistic approach to data security and compliance.

Sponsor: IBM

See more White Papers | Webcasts

Ask a question

Ask a Question