<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>ActiveRecord on 办公AI智能小助手</title>
    <link>https://blog.qife122.com/tags/activerecord/</link>
    <description>Recent content in ActiveRecord on 办公AI智能小助手</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <copyright>qife</copyright>
    <lastBuildDate>Fri, 09 Jan 2026 12:22:56 +0800</lastBuildDate>
    <atom:link href="https://blog.qife122.com/tags/activerecord/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>ActiveRecord SQL注入漏洞深度剖析(CVE-2011-2930)</title>
      <link>https://blog.qife122.com/p/activerecord-sql%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E%E6%B7%B1%E5%BA%A6%E5%89%96%E6%9E%90cve-2011-2930/</link>
      <pubDate>Fri, 09 Jan 2026 12:22:56 +0800</pubDate>
      <guid>https://blog.qife122.com/p/activerecord-sql%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E%E6%B7%B1%E5%BA%A6%E5%89%96%E6%9E%90cve-2011-2930/</guid>
      <description>&lt;h1 id=&#34;activerecord-vulnerable-to-sql-injection--cve-2011-2930&#34;&gt;activerecord vulnerable to SQL Injection · CVE-2011-2930&lt;/h1&gt;&#xA;&lt;h2 id=&#34;漏洞详情&#34;&gt;漏洞详情&lt;/h2&gt;&#xA;&lt;h3 id=&#34;漏洞描述&#34;&gt;漏洞描述&lt;/h3&gt;&#xA;&lt;p&gt;ActiveRecord适配器中的&lt;code&gt;quote_table_name&lt;/code&gt;方法存在多个SQL注入漏洞。该漏洞位于Ruby on Rails的&lt;code&gt;activerecord/lib/active_record/connection_adapters/&lt;/code&gt;目录中，影响以下版本：&lt;/p&gt;</description>
    </item>
    <item>
      <title>ActiveRecord 早期版本存在SQL注入漏洞（CVE-2011-2930）剖析</title>
      <link>https://blog.qife122.com/p/activerecord-%E6%97%A9%E6%9C%9F%E7%89%88%E6%9C%AC%E5%AD%98%E5%9C%A8sql%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9Ecve-2011-2930%E5%89%96%E6%9E%90/</link>
      <pubDate>Sat, 06 Dec 2025 17:42:11 +0800</pubDate>
      <guid>https://blog.qife122.com/p/activerecord-%E6%97%A9%E6%9C%9F%E7%89%88%E6%9C%AC%E5%AD%98%E5%9C%A8sql%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9Ecve-2011-2930%E5%89%96%E6%9E%90/</guid>
      <description>&lt;h3 id=&#34;漏洞详情&#34;&gt;漏洞详情&lt;/h3&gt;&#xA;&lt;p&gt;&lt;strong&gt;包信息&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;包管理器&lt;/strong&gt;: RubyGems&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;受影响的包&lt;/strong&gt;: activerecord&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;受影响版本&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;版本 &amp;gt;= 2.0.0 且 &amp;lt; 2.3.13&lt;/li&gt;&#xA;&lt;li&gt;版本 &amp;gt;= 3.0.0.beta 且 &amp;lt; 3.0.10&lt;/li&gt;&#xA;&lt;li&gt;版本 &amp;gt;= 3.1.0.beta1 且 &amp;lt; 3.1.0.rc5&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;strong&gt;已修复版本&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;2.3.13&lt;/li&gt;&#xA;&lt;li&gt;3.0.10&lt;/li&gt;&#xA;&lt;li&gt;3.1.0.rc5&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;漏洞描述&#34;&gt;漏洞描述&lt;/h3&gt;&#xA;&lt;p&gt;Ruby on Rails 2.3.13之前版本、3.0.x的3.0.10之前版本以及3.1.x的3.1.0.rc5之前版本中，位于&lt;code&gt;activerecord/lib/active_record/connection_adapters/&lt;/code&gt;目录下的ActiveRecord适配器中的&lt;code&gt;quote_table_name&lt;/code&gt;方法存在多处SQL注入漏洞。远程攻击者能够通过构造恶意的列名，执行任意SQL命令。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
