rubygem-activerecord: SQL injection vulnerability in 'bitstring' quoting
Published Jul 7, 2014
7.5
HIGHCVSS 2.0
EPSS 4.28%
Description
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.
Affected products
No data.
- 2.0.0
- 2.0.0
- 2.0.0
- 2.0.1
- 2.0.2
- 2.0.4
- 2.1.0
- 2.1.1
- 2.1.2
- 2.2.0
- 2.2.1
- 2.2.2
- 2.3.0
- 2.3.1
- 2.3.2
- 2.3.3
- 2.3.4
- 2.3.9
- 2.3.10
- 2.3.11
- 2.3.12
- 2.3.13
- 2.3.14
- 2.3.15
- 2.3.16
- 2.3.18
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.1
- 3.0.1
- 3.0.2
- 3.0.2
- 3.0.3
- 3.0.4
- 3.0.5
- 3.0.5
- 3.0.6
- 3.0.6
- 3.0.6
- 3.0.7
- 3.0.7
- 3.0.7
- 3.0.8
- 3.0.8
- 3.0.8
- 3.0.8
- 3.0.8
- 3.0.9
- 3.0.9
- 3.0.9
- 3.0.9
- 3.0.9
- 3.0.9
- 3.0.10
- 3.0.10
- 3.0.11
- 3.0.12
- 3.0.12
- 3.0.13
- 3.0.13
- 3.0.14
- 3.0.16
- 3.0.17
- 3.0.18
- 3.0.19
- 3.0.20
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.1
- 3.1.1
- 3.1.1
- 3.1.1
- 3.1.2
- 3.1.2
- 3.1.2
- 3.1.3
- 3.1.4
- 3.1.4
- 3.1.5
- 3.1.5
- 3.1.6
- 3.1.7
- 3.1.8
- 3.1.9
- 3.1.10
- 3.2.0
- 3.2.0
- 3.2.0
- 3.2.1
- 3.2.2
- 3.2.2
- 3.2.3
- 3.2.3
- 3.2.3
- 3.2.4
- 3.2.4
- 3.2.5
- 3.2.6
- 3.2.7
- 3.2.8
- 3.2.9
- 3.2.10
- 3.2.11
- 3.2.12
- 3.2.13
- 3.2.13
- 3.2.15
- 3.2.16
- 3.2.17
- 3.2.18
- 2.3.17
- 3.0.4
No data.
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6
ruby193-rubygem-activerecord-1:3.2.8-8.2.el6
Fixed · RHSA-2014:0876
Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS
ruby193-rubygem-activerecord-1:3.2.8-8.2.el6
Fixed · RHSA-2014:0876
Red Hat Software Collections 1 for Red Hat Enterprise Linux 7
ruby193-rubygem-activerecord-1:3.2.8-8.2.el7
Fixed · RHSA-2014:0876
CloudForms Management Engine 5
ruby193-rubygem-activerecord
Not affected
OpenShift Enterprise 1
ruby193-rubygem-activerecord
Will not fix
Red Hat OpenStack Platform 3
ruby193-rubygem-activerecord
Will not fix
Red Hat OpenStack Platform 4
ruby193-rubygem-activerecord
Affected
Red Hat Software Collections
ror40-rubygem-activerecord
Not affected
Red Hat Subscription Asset Manager
ruby193-rubygem-activerecord
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6 | ruby193-rubygem-activerecord-1:3.2.8-8.2.el6 | Fixed | RHSA-2014:0876 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS | ruby193-rubygem-activerecord-1:3.2.8-8.2.el6 | Fixed | RHSA-2014:0876 |
| Red Hat Software Collections 1 for Red Hat Enterprise Linux 7 | ruby193-rubygem-activerecord-1:3.2.8-8.2.el7 | Fixed | RHSA-2014:0876 |
| CloudForms Management Engine 5 | ruby193-rubygem-activerecord | Not affected | n/a |
| OpenShift Enterprise 1 | ruby193-rubygem-activerecord | Will not fix | n/a |
| Red Hat OpenStack Platform 3 | ruby193-rubygem-activerecord | Will not fix | n/a |
| Red Hat OpenStack Platform 4 | ruby193-rubygem-activerecord | Affected | n/a |
| Red Hat Software Collections | ror40-rubygem-activerecord | Not affected | n/a |
| Red Hat Subscription Asset Manager | ruby193-rubygem-activerecord | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue does not affect CloudForms 5 as it does not use the "bitstring" data type anywhere in the product.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.28% (0.04278) | 90.79th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.92% (0.04919) | 90.97th | v5 (v2026.06.15) |
| Mar 30, 2025 | 1.44% (0.01435) | 78.89th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.58% (0.02583) | 75.92th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.44% (0.01435) | 79.34th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.92% (0.00920) | 83.58th | v3 (v2023.03.01) |
| Feb 17, 2024 | 0.65% (0.00650) | 78.78th | v3 (v2023.03.01) |
| Jan 1, 2024 | 0.56% (0.00562) | 75.27th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.47% (0.00473) | 71.88th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.41% (0.01408) | 72.89th | v2 (v2022.01.01) |
| Mar 2, 2023 | 1.41% (0.01408) | 72.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.41% (0.01408) | 70.87th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.41% (0.01408) | 49.94th | v2 (v2022.01.01) |
References (15)
- http://openwall.com/lists/oss-security/2014/07/02/5 mailing-listx_refsource_MLIST
- http://rhn.redhat.com/errata/RHSA-2014-0876.html vendor-advisoryx_refsource_REDHAT
- http://secunia.com/advisories/59973 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/60214 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/60763 third-party-advisoryx_refsource_SECUNIA
- http://www.debian.org/security/2014/dsa-2982 vendor-advisoryx_refsource_DEBIAN
- http://www.securityfocus.com/bid/68343 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2014-3482 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1114425 Issue Tracking
- https://github.com/advisories/GHSA-mhwp-qhpc-h3jm Advisory
- https://github.com/rails/rails/commit/1f2192e46d78ee0ba2b06373f2c24caf8440ff5b
- https://groups.google.com/forum/message/raw?msg=rubyonrails-security/wDxePLJGZdI/WP7EasCJTA4J mailing-listx_refsource_MLIST
- https://groups.google.com/g/rubyonrails-security/c/wDxePLJGZdI
- https://nvd.nist.gov/vuln/detail/CVE-2014-3482
- https://www.cve.org/CVERecord?id=CVE-2014-3482
Change history (0)
No recorded changes yet.