GitHub Advisoryadvisory · RubyGems
GHSA-mhwp-qhpc-h3jm SQL Injection in Active Record
HIGH
Official page ↗
- Aliases
- CVE-2014-3482
- Ecosystem
- RubyGems
- Packages
- activerecord
- Severity
- High
- Weaknesses
- CWE-89
- Reviewed
- 2020-06-16
Affected packages
• RubyGems activerecord: >= 2.0.0, < 3.2.19 → fixed in 3.2.19
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.
Related
Alias · CVE (1)
- CVE-2014-3482 SQL injection vulnerability in activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb in the PostgreSQL adapter for… vulnerability
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-3482 advisory
- https://github.com/rails/rails/commit/1f2192e46d78ee0ba2b06373f2c24caf8440ff5b web
- https://github.com/rails/rails package
- https://groups.google.com/g/rubyonrails-security/c/wDxePLJGZdI web
- http://openwall.com/lists/oss-security/2014/07/02/5 web
- http://rhn.redhat.com/errata/RHSA-2014-0876.html web
- http://www.debian.org/security/2014/dsa-2982 web