Skip to content

Array data injection vulnerability in activerecord

Moderate severity GitHub Reviewed Published Oct 24, 2017 to the GitHub Advisory Database • Updated Nov 8, 2023

Package

bundler activerecord (RubyGems)

Affected versions

>= 4.0.0, < 4.0.3
= 4.1.0.beta1

Patched versions

4.0.3
4.1.0.beta2

Description

SQL injection vulnerability in activerecord/lib/active_record/connection_adapters/postgresql/cast.rb in Active Record in Ruby on Rails 4.0.x before 4.0.3, and 4.1.0.beta1, when PostgreSQL is used, allows remote attackers to execute "add data" SQL commands via vectors involving \ (backslash) characters that are not properly handled in operations on array columns.

References

Published by the National Vulnerability Database Feb 20, 2014
Published to the GitHub Advisory Database Oct 24, 2017
Reviewed Jun 16, 2020
Last updated Nov 8, 2023

Severity

Moderate

EPSS score

0.290%
(69th percentile)

Weaknesses

CVE ID

CVE-2014-0080

GHSA ID

GHSA-hqf9-rc9j-5fmj
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.