SQL Injection Affecting activerecord-jdbc-adapter package, versions < 1.2.8, >= 1.2.6


Severity

Recommended
0.0
medium
0
10

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

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 SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-ACTIVERECORDJDBCADAPTER-20076
  • published24 Feb 2013
  • disclosed24 Feb 2013
  • creditUnknown

Introduced: 24 Feb 2013

CVE NOT AVAILABLE CWE-89  (opens in a new tab)
First added by Snyk

Overview

ActiveRecord-JDBC-Adapter (AR-JDBC) is a database adapter for Rails' ActiveRecord component designed to be used with JRuby built upon Java's JDBC API for database access. Affected versions of this gem are vulnerable to SQL injection attacks. The sql.gsub() function in lib/arjdbc/jdbc/adapter.rb is not properly sanitizing user-supplied input before using it in SQL queries. This may allow a remote attacker to inject or manipulate SQL queries in the back-end database, allowing for the manipulation or disclosure of arbitrary data.

CVSS Scores

version 3.1