Remote Code Execution Affecting activerecord package, versions < 3.1.0, >= 2.4< 2.3.17


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
12.89% (96th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Remote Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-ACTIVERECORD-20061
  • published10 Feb 2013
  • disclosed10 Feb 2013
  • creditUnknown

Introduced: 10 Feb 2013

CVE-2013-0277  (opens in a new tab)
CWE-94  (opens in a new tab)

Overview

ActiveRecord is the Object-Relational Mapping (ORM) that comes out-of-the-box with Rails. It plays the role of Model in the MVC architecture employed by Rails.

There's a flaw in the serialize helper in the ActiveRecord. The issue is triggered when the system is configured to allow users to directly provide values to be serialized and deserialized using YAML. With a specially crafted YAML attribute, a remote attacker can deserialize arbitrary YAML and execute code associated with it.

CVSS Scores

version 3.1