Advisory

GHSA-hqf9-rc9j-5fmj

Also known as: CVE-2014-0080

Summary

Array data injection vulnerability in activerecord

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2017-10-24 18:33 UTC
Modified
2024-12-08 05:37 UTC

Affected packages and fixes

activerecord

RubyGems · All systems

Affected

  • introduced 4.0.0, fixed 4.0.3 (ecosystem)

Fixed versions

4.0.3

Fix

The export has no generic command for this ecosystem.

activerecord

RubyGems · All systems

Affected

  • introduced 4.1.0.beta1, fixed 4.1.0.beta2 (ecosystem)

Fixed versions

4.1.0.beta2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences