{"id":"CVE-2014-0080","published":"2014-02-20T11:00:00Z","modified":"2024-08-06T09:05:37Z","title":"SQL injection vulnerability in activerecord/lib/active_record/connection_adapters/postgresql/cast.rb in Active Record…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01266,"percentile":0.70447,"provenance":"source"},"cwes":[],"references":[{"url":"https://groups.google.com/forum/message/raw?msg=rubyonrails-security/Wu96YkTUR6s/pPLBMZrlwvYJ","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://openwall.com/lists/oss-security/2014/02/18/9","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":14.09}]},"affected":[{"ecosystem":"RubyGems","package":"activerecord","vulnerableRanges":[">=4.0.0, <4.0.3",">=4.1.0.beta1, <4.1.0.beta2"],"patched":["4.0.3","4.1.0.beta2"],"from":["GHSA-hqf9-rc9j-5fmj"],"provenance":"source"}],"summary":{"text":"The flaw is a SQL injection vulnerability in the PostgreSQL array-casting code (activerecord/lib/active_record/connection_adapters/postgresql/cast.rb) of Active Record, the component of Ruby on Rails. It affects Rails 4.0.x before 4.0.3 and 4.1.0.beta1 when PostgreSQL is the database, because backslash characters are not properly handled in operations on array columns. An attacker can remotely inject SQL commands that execute \"add data\" operations against the database, and the attack relies on crafted input containing backslash characters being processed through array columns.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:18Z"},"euvd":{"id":"EUVD-2017-0254","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2013-0276","published":"2013-02-13","fixed":"3.2.12","kev":false},{"cve":"CVE-2013-1854","published":"2013-03-19","fixed":"3.2.13","kev":false},{"cve":"CVE-2014-3482","published":"2014-07-07","fixed":"3.2.19","kev":false},{"cve":"CVE-2014-0080","published":"2014-02-20","fixed":"4.1.0.beta2","kev":false},{"cve":"CVE-2014-3483","published":"2014-07-07","fixed":"4.1.3","kev":false,"link":{"from":"CVE-2014-0080","to":"CVE-2014-3483","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activerecord","fromFixed":"4.0.3","toFixed":"4.0.7","daysApart":137},{"kind":"similar","provenance":"machine","score":0.55,"basis":"same package + description similarity"}]}},{"cve":"CVE-2014-3514","published":"2014-08-20","fixed":"4.1.5","kev":false},{"cve":"CVE-2013-3221","published":"2013-04-22","fixed":"4.2.0","kev":false}],"package":"RubyGems:activerecord"}}