CVE-2014-3482 json
SQL Injection in Active Record
published 2014-07-07 12 y ago modified 2026-06-17 4 mo ago also GHSA-mhwp-qhpc-h3jm , EUVD-2017-0273
- cvss
- 7.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.3%
- EPSS 4.3% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
SQL injection vulnerability in activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb in the PostgreSQL adapter for Active Record in Ruby on Rails 2.x and 3.x before 3.2.19 allows remote attackers to execute arbitrary SQL commands by leveraging improper bitstring quoting.
Patch / fix
- rubygems activerecord 3.2.19
- rails Debian 14, Debian 13, Debian 12 2:4.1.4-1
debian advisories DEBIAN-CVE-2014-3482
- ruby193-rubygem-activerecord RHEL 1 SOFTWARE_COLLECTIONS 1:3.2.8-8.2.el6
- ruby193-rubygem-activerecord RHEL 1 SOFTWARE_COLLECTIONS 1:3.2.8-8.2.el7
red hat advisories RHSA-2014:0876
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-3482 updated cvss 4.3
rubygem-activerecord: SQL injection vulnerability in 'bitstring' quoting
-
Red Hat OpenShift Enterprise 1 ruby193-rubygem-activerecord Red Hat OpenStack Platform 3 ruby193-rubygem-activerecordaffected: no fix planned “Will not fix”
-
Red Hat OpenStack Platform 4 ruby193-rubygem-activerecordaffected: no fix available
-
Red Hat Subscription Asset Manager ruby193-rubygem-activerecordaffected: no fix planned “Will not fix”
-
Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 6) ruby193-rubygem-activerecord 3.2.8-8.2.el6 Red Hat Software Collections 1 for Red Hat Enterprise Linux Server (v. 7) ruby193-rubygem-activerecord 3.2.8-8.2.el7 Red Hat Software Collections 1 for Red Hat Enterprise Linux Server EUS (v. 6.4) ruby193-rubygem-activerecord 3.2.8-8.2.el6 Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 6) ruby193-rubygem-activerecord 3.2.8-8.2.el6 Red Hat Software Collections 1 for Red Hat Enterprise Linux Workstation (v. 7) ruby193-rubygem-activerecord 3.2.8-8.2.el7fixed: vendor fix RHSA-2014:0876
-
Red Hat CloudForms Management Engine 5 ruby193-rubygem-activerecord Red Hat Software Collections ror40-rubygem-activerecordnot affected: vulnerable code not present
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
4.28% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | activerecord | >=2.0.0, <3.2.19 |
3.2.19 |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
- Technology feeds
References
-
github.com
/rails/rails/commit/1f2192e46d78ee0ba2b06373f2c24caf8440ff5b
web
-
rhn.redhat.com
/errata/RHSA-2014-0876.html
vendor-advisory, web
-
debian.org
/security/2014/dsa-2982
vendor-advisory, web
-
securityfocus.com
/bid/68343
vdb-entry
-
secunia.com
/advisories/59973
third-party-advisory
-
openwall.com
/lists/oss-security/2014/07/02/5
mailing-list, web
-
groups.google.com
/forum/message/raw?msg=rubyonrails-security/wDxePLJGZdI/WP7EasCJTA4J
mailing-list
-
secunia.com
/advisories/60214
third-party-advisory
-
secunia.com
/advisories/60763
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2014-3482
advisory
-
github.com
/rails/rails
package
-
groups.google.com
/g/rubyonrails-security/c/wDxePLJGZdI
web
Sources
- CVE List CVE-2014-3482
- GitHub Advisory GHSA-mhwp-qhpc-h3jm
- NVD CVE-2014-3482
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.