<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Wed, 07 Oct 2026 06:00:31 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-22794</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2023-22794</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; https://github.com/rails/rails&lt;/p&gt;
&lt;p&gt;A vulnerability in ActiveRecord &amp;lt;6.0.6.1, v6.1.7.1 and v7.0.4.1 related to the sanitization of comments. If malicious user input is passed to either the `annotate` query method, the `optimizer_hints` query method, or through the QueryLogs interface which automatically adds annotations, it may be sent to the database withinsufficient sanitization and be able to inject SQL outside of the comment.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; https://github.com/rails/rails&lt;/p&gt;
&lt;p&gt;A vulnerability in ActiveRecord &amp;lt;6.0.6.1, v6.1.7.1 and v7.0.4.1 related to the sanitization of comments. If malicious user input is passed to either the `annotate` query method, the `optimizer_hints` query method, or through the QueryLogs interface which automatically adds annotations, it may be sent to the database withinsufficient sanitization and be able to inject SQL outside of the comment.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2023-22794</guid>
    </item>
    <item>
      <title>GHSA-hq7p-j377-6v63 — SQL Injection Vulnerability via ActiveRecord comments</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-hq7p-j377-6v63</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; RubyGems: activerecord&lt;/p&gt;
&lt;p&gt;There is a possible vulnerability in ActiveRecord related to the sanitization of comments. This vulnerability has been assigned the CVE identifier CVE-2023-22794.&lt;/p&gt;
&lt;p&gt;Versions Affected: &amp;gt;= 6.0.0 Not affected: &amp;lt; 6.0.0 Fixed Versions: 6.0.6.1, 6.1.7.1, 7.0.4.1
Impact&lt;/p&gt;
&lt;p&gt;Previously the implementation of escaping for comments was insufficient for&lt;/p&gt;
&lt;p&gt;If malicious user input is passed to either the annotate query method, the optimizer_hints query method, or through the QueryLogs interface which automatically adds annotations, it may be sent to the database with insufficient sanitization and be able to inject SQL outside of the comment.&lt;/p&gt;
&lt;p&gt;In most cases these interfaces won’t be used with user input and users should avoid doing so.&lt;/p&gt;
&lt;p&gt;Example vulnerable code:
```
Post.where(id: 1).annotate(&amp;#34;#{params[:user_input]}&amp;#34;)&lt;/p&gt;
&lt;p&gt;Post.where(id: 1).optimizer_hints(&amp;#34;#{params[:user_input]}&amp;#34;)
```
Example vulnerable QueryLogs configuration (the default configuration is not vulnerable):
```
config.active_record.query_log_tags = [
  {
    something: -&amp;gt; { &amp;lt;some value including user input&amp;gt; }
  }
]
```
All users running an affected release should either upgrade or use one of the workarounds immediately.
Releases&lt;/p&gt;
&lt;p&gt;The FIXED releases are available at the normal locations.
Workarounds&lt;/p&gt;
&lt;p&gt;Avoid passing user input to annotate and avoid using QueryLogs configuration which can include user input.
Patches&lt;/p&gt;
&lt;p&gt;To aid users who aren’t able to upgrade immediately we have provided patches for the two supported release series. They a…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; RubyGems: activerecord&lt;/p&gt;
&lt;p&gt;There is a possible vulnerability in ActiveRecord related to the sanitization of comments. This vulnerability has been assigned the CVE identifier CVE-2023-22794.&lt;/p&gt;
&lt;p&gt;Versions Affected: &amp;gt;= 6.0.0 Not affected: &amp;lt; 6.0.0 Fixed Versions: 6.0.6.1, 6.1.7.1, 7.0.4.1
Impact&lt;/p&gt;
&lt;p&gt;Previously the implementation of escaping for comments was insufficient for&lt;/p&gt;
&lt;p&gt;If malicious user input is passed to either the annotate query method, the optimizer_hints query method, or through the QueryLogs interface which automatically adds annotations, it may be sent to the database with insufficient sanitization and be able to inject SQL outside of the comment.&lt;/p&gt;
&lt;p&gt;In most cases these interfaces won’t be used with user input and users should avoid doing so.&lt;/p&gt;
&lt;p&gt;Example vulnerable code:
```
Post.where(id: 1).annotate(&amp;#34;#{params[:user_input]}&amp;#34;)&lt;/p&gt;
&lt;p&gt;Post.where(id: 1).optimizer_hints(&amp;#34;#{params[:user_input]}&amp;#34;)
```
Example vulnerable QueryLogs configuration (the default configuration is not vulnerable):
```
config.active_record.query_log_tags = [
  {
    something: -&amp;gt; { &amp;lt;some value including user input&amp;gt; }
  }
]
```
All users running an affected release should either upgrade or use one of the workarounds immediately.
Releases&lt;/p&gt;
&lt;p&gt;The FIXED releases are available at the normal locations.
Workarounds&lt;/p&gt;
&lt;p&gt;Avoid passing user input to annotate and avoid using QueryLogs configuration which can include user input.
Patches&lt;/p&gt;
&lt;p&gt;To aid users who aren’t able to upgrade immediately we have provided patches for the two supported release series. They a…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-hq7p-j377-6v63</guid>
    </item>
  </channel>
</rss>
