Advisory

GHSA-r8fh-hq2p-7qhq

Also known as: CVE-2014-3483

Summary

Active Record contains SQL Injection via improper range quoting

Details

SQL injection vulnerability in activerecord/lib/active_record/connection_adapters/postgresql/quoting.rb in the PostgreSQL adapter for Active Record in Ruby on Rails 4.x before 4.0.7 and 4.1.x before 4.1.3 allows remote attackers to execute arbitrary SQL commands by leveraging improper range quoting.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2017-10-24 18:33 UTC
Modified
2024-11-29 05:28 UTC

Affected packages and fixes

activerecord

RubyGems · All systems

Affected

  • introduced 4.0.0, fixed 4.0.7 (ecosystem)

Fixed versions

4.0.7

Fix

The export has no generic command for this ecosystem.

activerecord

RubyGems · All systems

Affected

  • introduced 4.1.0, fixed 4.1.3 (ecosystem)

Fixed versions

4.1.3

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