CVE-2014-0080
published 2014-02-20CVE-2014-0080: 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…
PriorityP337medium6.8CVSS 2.0
AVNACMAuNCPIPAP
EPSS
1.30%
67.7th percentile
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.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| activerecord_project | activerecord | >= 4.0.0 < 4.0.3 | 4.0.3 |
| activerecord_project | activerecord | >= 4.1.0.beta1 < 4.1.0.beta2 | 4.1.0.beta2 |
| debian | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
CVSS provenance
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
vendor_debian6.8LOW
vendor_redhat6.8MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
rubygem-activerecord: PostgreSQL array data injection vulnerability
vendor_redhat·2014-02-18·CVSS 6.8
CVE-2014-0080 [MEDIUM] rubygem-activerecord: PostgreSQL array data injection vulnerability
rubygem-activerecord: PostgreSQL array data injection vulnerability
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.
Statement: Not vulnerable. This issue did not affect the versions of rubygem-activerecord as shipped with CloudForms, OpenShift Enterprise 1 and 2, Red Hat Enterprise Linux OpenStack Platform 3 and 4, Red Hat Software Collections 1 and Subscription Asset Manager as they did not include the vulnerable code.
Package: ruby193-rubygem-activerecord (CloudForms Manage
Debian
CVE-2014-0080: rails - SQL injection vulnerability in activerecord/lib/active_record/connection_adapter...
vendor_debian·2014·CVSS 6.8
CVE-2014-0080 [MEDIUM] CVE-2014-0080: rails - SQL injection vulnerability in activerecord/lib/active_record/connection_adapter...
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.
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved
sid: resolved
trixie: resolved
GHSA
Array data injection vulnerability in activerecord
ghsa·2017-10-24
CVE-2014-0080 [MEDIUM] CWE-89 Array data injection vulnerability in activerecord
Array data injection vulnerability in activerecord
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.
OSV
Array data injection vulnerability in activerecord
osv·2017-10-24
CVE-2014-0080 [MEDIUM] Array data injection vulnerability in activerecord
Array data injection vulnerability in activerecord
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2014-0080 rubygem-activerecord: PostgreSQL array data injection vulnerability [fedora-20]
bugzilla·2014-02-18·CVSS 6.8
CVE-2014-0080 [MEDIUM] CVE-2014-0080 rubygem-activerecord: PostgreSQL array data injection vulnerability [fedora-20]
CVE-2014-0080 rubygem-activerecord: PostgreSQL array data injection vulnerability [fedora-20]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
fedora-20 t
Bugzilla
CVE-2014-0080 rubygem-activerecord: PostgreSQL array data injection vulnerability
bugzilla·2014-02-14·CVSS 6.8
CVE-2014-0080 [MEDIUM] CVE-2014-0080 rubygem-activerecord: PostgreSQL array data injection vulnerability
CVE-2014-0080 rubygem-activerecord: PostgreSQL array data injection vulnerability
Aaron Patterson of the Ruby on Rails project reports:
Data Injection Vulnerability in Active Record
There is a data injection vulnerability in Active Record. Specially
crafted strings can be used to save data in PostgreSQL array columns that may
not be intended.
Versions Affected: 4.0.x, 4.1.0.beta1
Not affected: 3.2.x and older
Fixed Versions: 4.0.3, 4.1.0.beta2
Impact
Specially crafted strings may be used to save data to array columns in
PostgreSQL databases. This vulnerability cannot be used to delete data or
execute arbitrary SQL statements, but *can* be used to add data that could
have an impact on the application (such as setting an admin flag). Only array
type columns in PostgreSQL are impacted.
2014-02-20
Published