Bug 2164785 (CVE-2023-22794) - CVE-2023-22794 rubygem-activerecord: SQL Injection
Summary: CVE-2023-22794 rubygem-activerecord: SQL Injection
Keywords:
Status: NEW
Alias: CVE-2023-22794
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2164786 2164787
Blocks: 2162605
TreeView+ depends on / blocked
 
Reported: 2023-01-26 13:57 UTC by ybuenos
Modified: 2023-11-08 14:17 UTC (History)
10 users (show)

Fixed In Version: rubygem-activerecord 6.0.6.1, rubygem-activerecord 6.1.7.1, rubygem-activerecord 7.0.4.1
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:6818 0 None None None 2023-11-08 14:17:13 UTC

Description ybuenos 2023-01-26 13:57:56 UTC
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.

Comment 1 ybuenos 2023-01-26 14:00:15 UTC
Created rubygem-activerecord tracking bugs for this issue:

Affects: fedora-all [bug 2164786]

Comment 7 errata-xmlrpc 2023-11-08 14:17:12 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.14 for RHEL 8

Via RHSA-2023:6818 https://access.redhat.com/errata/RHSA-2023:6818


Note You need to log in before you can comment on or make changes to this bug.