CVE-2014-3482
rubygem-activerecord: SQL injection vulnerability in 'bitstring' quoting
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 2.0 base score, scored by NVD.
- Access vector
- Network
- Access complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
AV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness: CWE-89
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | activerecord | >=2.0.0, <3.2.19 | 3.2.19~> 3.2.19 |
Open a package to see all its vulnerabilities.
Operating systems · 6 fixes
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | ruby193-rubygem-activerecord +1 | 1:3.2.8-8.2.el7 | RHSA-2014:0876 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rails | 2:4.1.4-1 |
| 12 | rails | 2:4.1.4-1 |
| 13 | rails | 2:4.1.4-1 |
| 14 | rails | 2:4.1.4-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| rails | 2:4.1.4-1 |
References
- openwall.com http://openwall.com/lists/oss-security/2014/07/02/5
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2014-0876.html
- secunia.com http://secunia.com/advisories/59973
- secunia.com http://secunia.com/advisories/60214
- secunia.com http://secunia.com/advisories/60763
- www.debian.org http://www.debian.org/security/2014/dsa-2982
- www.securityfocus.com http://www.securityfocus.com/bid/68343
- access.redhat.com https://access.redhat.com/security/cve/CVE-2014-3482
- github.com https://github.com/rails/rails
- github.com https://github.com/rails/rails/commit/1f2192e46d78ee0ba2b06373f2c24caf8440ff5b
Show all 14 references
- groups.google.com https://groups.google.com/forum/message/raw?msg=rubyonrails-security/wDxePLJGZdI/WP7EasCJTA4J
- groups.google.com https://groups.google.com/g/rubyonrails-security/c/wDxePLJGZdI
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2014-3482
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2014-3482
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.