Summary
Sean Griffin discovered two vulnerabilities in the PostgreSQL adapter for Active Record which could lead to SQL injection.
Solution
For the stable distribution (wheezy), these problems have been fixed in version 3.2.6-5+deb7u1. Debian provides two variants of Ruby on Rails
in Wheezy (2.3 and 3.2). Support for the 2.3 variants had to be ceased at this point. This affects the following source packages:
ruby-actionmailer-2.3, ruby-actionpack-2.3, ruby-activerecord-2.3, ruby-activeresource-2.3, ruby-activesupport-2.3 and ruby-rails-2.3. The version of Redmine in Wheezy still requires 2.3, you can use an updated version from backports.debian.org which is compatible with rails 3.2.
For the unstable distribution (sid), these problems have been fixed in version 3.2.19-1 of the rails-3.2 source package.
We recommend that you upgrade your ruby-activerecord-3.2 packages.
Insight
Active Records is a framework to work with databases on Rails. Build a persistent domain model by mapping database tables to Ruby classes.
Strong conventions for associations, validations, aggregations, migrations, and testing come baked-in.
Affected
ruby-activerecord-3.2 on Debian Linux
Detection
This check tests the installed software version using the apt package manager.
References
Updated on 2015-03-25
Severity
Classification
-
CVE CVE-2014-3482, CVE-2014-3483 -
CVSS Base Score: 7.5
AV:N/AC:L/Au:N/C:P/I:P/A:P
Related Vulnerabilities