Upstream information

CVE-2023-22794 at MITRE

Description

A vulnerability in ActiveRecord <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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v3 Scores
  National Vulnerability Database
Base Score 8.8
Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1207452 [NEW]

No SUSE Security Announcements cross referenced.

List of released packages

Product(s) Fixed package version(s) References
openSUSE Tumbleweed
  • ruby3.1-rubygem-activerecord-7.0 >= 7.0.4.1-1.1
  • ruby3.2-rubygem-activerecord-7.0 >= 7.0.4.1-1.1
  • ruby3.3-rubygem-activerecord-7.0 >= 7.0.8.4-1.1
Patchnames:
openSUSE-Tumbleweed-2024-12766
openSUSE-Tumbleweed-2024-14069


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise High Availability Extension 15 SP5 rubygem-activerecord-5_1 Not affected
SUSE Linux Enterprise High Availability Extension 15 SP6 rubygem-activerecord-5_1 Not affected
openSUSE Leap 15.5 rubygem-activerecord-5_1 Not affected
openSUSE Leap 15.6 rubygem-activerecord-5_1 Not affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Availability Extension 15 SP2 rubygem-activerecord-5_1 Not affected
SUSE Linux Enterprise High Availability Extension 15 SP3 rubygem-activerecord-5_1 Not affected
SUSE Linux Enterprise High Availability Extension 15 SP4 rubygem-activerecord-5_1 Not affected
Products past their end of life and not receiving proactive updates anymore.
SUSE Enterprise Storage 2.1 rubygem-activerecord-4_2 Not affected
SUSE Enterprise Storage 3 rubygem-activerecord-4_2 Not affected
SUSE Enterprise Storage 4 rubygem-activerecord-4_2 Not affected
SUSE Linux Enterprise High Availability Extension 15 rubygem-activerecord-5_1 Not affected
SUSE Linux Enterprise High Availability Extension 15 SP1 rubygem-activerecord-5_1 Not affected
SUSE OpenStack Cloud 6 rubygem-activerecord-4_2 Not affected
SUSE OpenStack Cloud 6-LTSS rubygem-activerecord-4_2 Not affected
SUSE OpenStack Cloud 7 rubygem-activerecord-4_2 Not affected
SUSE OpenStack Cloud Crowbar 8 rubygem-activerecord-4_2 Not affected
SUSE OpenStack Cloud Crowbar 9 rubygem-activerecord-4_2 Not affected
openSUSE Leap 15.3 rubygem-activerecord-5_1 Not affected
openSUSE Leap 15.4 rubygem-activerecord-5_1 Not affected


SUSE Timeline for this CVE

CVE page created: Tue Jan 24 11:15:10 2023
CVE page last modified: Tue Sep 3 19:29:05 2024