CVE-2014-0080 json
Array data injection vulnerability in activerecord
published 2014-02-20 12 y ago modified 2026-06-17 4 mo ago also GHSA-hqf9-rc9j-5fmj , EUVD-2017-0254
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems activerecord 4.0.3, 4.1.0.beta2
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2014-0080 updated cvss 4.3
rubygem-activerecord: PostgreSQL array data injection vulnerability
-
Red Hat CloudForms Management Engine 5 ruby193-rubygem-activerecord Red Hat OpenShift Enterprise 1 ruby193-rubygem-activerecord Red Hat OpenStack Platform 3 ruby193-rubygem-activerecord Red Hat OpenStack Platform 4 ruby193-rubygem-activerecord Red Hat Satellite 6 ruby193-rubygem-activerecord Red Hat Software Collections ror40-rubygem-activerecord, ruby193-rubygem-activerecordnot affected: vulnerable code not present
+1 more productsfewer
Red Hat Subscription Asset Manager ruby193-rubygem-activerecord
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.27% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | activerecord | >=4.0.0, <4.0.3 >=4.1.0.beta1, <4.1.0.beta2 |
4.0.3 4.1.0.beta2 |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
- Technology feeds
References
-
groups.google.com
/forum/message/raw?msg=rubyonrails-security/Wu96YkTUR6s/pPLBMZrlwvYJ
mailing-list
-
openwall.com
/lists/oss-security/2014/02/18/9
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2014-0080
advisory
-
github.com
/advisories/GHSA-hqf9-rc9j-5fmj
advisory
-
github.com
/rails/rails/tree/main/activerecord
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2014-0080.yml
web
-
web.archive.org
/web/20210301004521/https://groups.google.com/forum/message/raw?msg=rubyonrails-security/Wu96YkTUR6s/pPLBMZrlw
web
Sources
- CVE List CVE-2014-0080
- GitHub Advisory GHSA-hqf9-rc9j-5fmj
- NVD CVE-2014-0080
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.