{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"important"},"category":"csaf_vex","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"SUSE CVE-2023-22794","title":"Title"},{"category":"description","text":"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.","title":"Description of the CVE"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"CVE-2023-22794","url":"https://www.suse.com/security/cve/CVE-2023-22794"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1207452 for CVE-2023-22794","url":"https://bugzilla.suse.com/1207452"},{"category":"external","summary":"Advisory link for openSUSE-SU-2025:15112-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/HY4OG4XVEU3VJA7BHFONYS4OFAKMFV4J/"}],"title":"SUSE CVE CVE-2023-22794","tracking":{"current_release_date":"2025-05-19T00:59:21Z","generator":{"date":"2023-02-15T03:21:31Z","engine":{"name":"cve-database.git:bin/generate-csaf-vex.pl","version":"1"}},"id":"CVE-2023-22794","initial_release_date":"2023-02-15T03:21:31Z","revision_history":[{"date":"2023-02-15T03:21:31Z","number":"2","summary":"Current version"},{"date":"2023-03-09T03:53:10Z","number":"3","summary":"Current version"},{"date":"2024-06-24T23:34:20Z","number":"4","summary":"Current version"},{"date":"2025-01-01T02:16:15Z","number":"5","summary":"Current version"},{"date":"2025-02-14T06:40:12Z","number":"6","summary":"Current version"},{"date":"2025-02-16T06:32:08Z","number":"7","summary":"Current version"},{"date":"2025-03-15T06:29:03Z","number":"8","summary":"Current version"},{"date":"2025-04-25T02:42:58Z","number":"9","summary":"Current version"},{"date":"2025-05-19T00:59:21Z","number":"10","summary":"Current version"}],"status":"interim","version":"10"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_name","name":"SUSE Linux Enterprise High Availability Extension 15 SP1","product":{"name":"SUSE Linux Enterprise High Availability Extension 15 SP1","product_id":"SUSE Linux Enterprise High Availability Extension 15 SP1","product_identification_helper":{"cpe":"cpe:/o:suse:sle-ha:15:sp1"}}},{"category":"product_name","name":"SUSE Linux Enterprise High Availability Extension 15 SP2","product":{"name":"SUSE Linux Enterprise High Availability Extension 15 SP2","product_id":"SUSE Linux Enterprise High Availability Extension 15 SP2","product_identification_helper":{"cpe":"cpe:/o:suse:sle-ha:15:sp2"}}},{"category":"product_name","name":"SUSE Linux Enterprise High Availability Extension 15 SP3","product":{"name":"SUSE Linux Enterprise High Availability Extension 15 SP3","product_id":"SUSE Linux Enterprise High Availability Extension 15 SP3","product_identification_helper":{"cpe":"cpe:/o:suse:sle-ha:15:sp3"}}},{"category":"product_name","name":"SUSE Linux Enterprise High Availability Extension 15 SP4","product":{"name":"SUSE Linux Enterprise High Availability Extension 15 SP4","product_id":"SUSE Linux Enterprise High Availability Extension 15 SP4","product_identification_helper":{"cpe":"cpe:/o:suse:sle-ha:15:sp4"}}},{"category":"product_name","name":"SUSE OpenStack Cloud Crowbar 8","product":{"name":"SUSE OpenStack Cloud Crowbar 8","product_id":"SUSE OpenStack Cloud Crowbar 8","product_identification_helper":{"cpe":"cpe:/o:suse:suse-openstack-cloud-crowbar:8"}}},{"category":"product_name","name":"SUSE OpenStack Cloud Crowbar 9","product":{"name":"SUSE OpenStack Cloud Crowbar 9","product_id":"SUSE OpenStack Cloud Crowbar 9","product_identification_helper":{"cpe":"cpe:/o:suse:suse-openstack-cloud-crowbar:9"}}},{"category":"product_name","name":"openSUSE Tumbleweed","product":{"name":"openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed","product_identification_helper":{"cpe":"cpe:/o:opensuse:tumbleweed"}}},{"category":"product_version","name":"ruby2.1-rubygem-activerecord-4_2","product":{"name":"ruby2.1-rubygem-activerecord-4_2","product_id":"ruby2.1-rubygem-activerecord-4_2","product_identification_helper":{"purl":"pkg:rpm/suse/ruby2.1-rubygem@activerecord-4_2"}}},{"category":"product_version","name":"ruby2.5-rubygem-activerecord-5_1","product":{"name":"ruby2.5-rubygem-activerecord-5_1","product_id":"ruby2.5-rubygem-activerecord-5_1","product_identification_helper":{"purl":"pkg:rpm/suse/ruby2.5-rubygem@activerecord-5_1"}}},{"category":"product_version","name":"ruby3.1-rubygem-activerecord-7.0-7.0.4.1-1.1","product":{"name":"ruby3.1-rubygem-activerecord-7.0-7.0.4.1-1.1","product_id":"ruby3.1-rubygem-activerecord-7.0-7.0.4.1-1.1","product_identification_helper":{"purl":"pkg:rpm/suse/ruby3.1-rubygem-activerecord-7.0@7.0.4.1-1.1"}}},{"category":"product_version","name":"ruby3.2-rubygem-activerecord-7.0-7.0.4.1-1.1","product":{"name":"ruby3.2-rubygem-activerecord-7.0-7.0.4.1-1.1","product_id":"ruby3.2-rubygem-activerecord-7.0-7.0.4.1-1.1","product_identification_helper":{"purl":"pkg:rpm/suse/ruby3.2-rubygem-activerecord-7.0@7.0.4.1-1.1"}}},{"category":"product_version","name":"ruby3.3-rubygem-activerecord-7.0-7.0.8.4-1.1","product":{"name":"ruby3.3-rubygem-activerecord-7.0-7.0.8.4-1.1","product_id":"ruby3.3-rubygem-activerecord-7.0-7.0.8.4-1.1","product_identification_helper":{"purl":"pkg:rpm/suse/ruby3.3-rubygem-activerecord-7.0@7.0.8.4-1.1"}}},{"category":"product_version","name":"ruby3.4-rubygem-activerecord-7.0-7.0.8.6-1.3","product":{"name":"ruby3.4-rubygem-activerecord-7.0-7.0.8.6-1.3","product_id":"ruby3.4-rubygem-activerecord-7.0-7.0.8.6-1.3","product_identification_helper":{"purl":"pkg:rpm/suse/ruby3.4-rubygem-activerecord-7.0@7.0.8.6-1.3"}}},{"category":"product_version","name":"rubygem-activerecord-4_2","product":{"name":"rubygem-activerecord-4_2","product_id":"rubygem-activerecord-4_2","product_identification_helper":{"purl":"pkg:rpm/suse/rubygem@activerecord-4_2"}}},{"category":"product_version","name":"rubygem-activerecord-5_1","product":{"name":"rubygem-activerecord-5_1","product_id":"rubygem-activerecord-5_1","product_identification_helper":{"purl":"pkg:rpm/suse/rubygem@activerecord-5_1"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"ruby3.1-rubygem-activerecord-7.0-7.0.4.1-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:ruby3.1-rubygem-activerecord-7.0-7.0.4.1-1.1"},"product_reference":"ruby3.1-rubygem-activerecord-7.0-7.0.4.1-1.1","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"ruby3.2-rubygem-activerecord-7.0-7.0.4.1-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:ruby3.2-rubygem-activerecord-7.0-7.0.4.1-1.1"},"product_reference":"ruby3.2-rubygem-activerecord-7.0-7.0.4.1-1.1","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"ruby3.3-rubygem-activerecord-7.0-7.0.8.4-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:ruby3.3-rubygem-activerecord-7.0-7.0.8.4-1.1"},"product_reference":"ruby3.3-rubygem-activerecord-7.0-7.0.8.4-1.1","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"ruby3.4-rubygem-activerecord-7.0-7.0.8.6-1.3 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:ruby3.4-rubygem-activerecord-7.0-7.0.8.6-1.3"},"product_reference":"ruby3.4-rubygem-activerecord-7.0-7.0.8.6-1.3","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"ruby2.5-rubygem-activerecord-5_1 as component of SUSE Linux Enterprise High Availability Extension 15 SP1","product_id":"SUSE Linux Enterprise High Availability Extension 15 SP1:ruby2.5-rubygem-activerecord-5_1"},"product_reference":"ruby2.5-rubygem-activerecord-5_1","relates_to_product_reference":"SUSE Linux Enterprise High Availability Extension 15 SP1"},{"category":"default_component_of","full_product_name":{"name":"rubygem-activerecord-5_1 as component of SUSE Linux Enterprise High Availability Extension 15 SP1","product_id":"SUSE Linux Enterprise High Availability Extension 15 SP1:rubygem-activerecord-5_1"},"product_reference":"rubygem-activerecord-5_1","relates_to_product_reference":"SUSE Linux Enterprise High Availability Extension 15 SP1"},{"category":"default_component_of","full_product_name":{"name":"ruby2.5-rubygem-activerecord-5_1 as component of SUSE Linux Enterprise High Availability Extension 15 SP2","product_id":"SUSE Linux Enterprise High Availability Extension 15 SP2:ruby2.5-rubygem-activerecord-5_1"},"product_reference":"ruby2.5-rubygem-activerecord-5_1","relates_to_product_reference":"SUSE Linux Enterprise High Availability Extension 15 SP2"},{"category":"default_component_of","full_product_name":{"name":"rubygem-activerecord-5_1 as component of SUSE Linux Enterprise High Availability Extension 15 SP2","product_id":"SUSE Linux Enterprise High Availability Extension 15 SP2:rubygem-activerecord-5_1"},"product_reference":"rubygem-activerecord-5_1","relates_to_product_reference":"SUSE Linux Enterprise High Availability Extension 15 SP2"},{"category":"default_component_of","full_product_name":{"name":"ruby2.5-rubygem-activerecord-5_1 as component of SUSE Linux Enterprise High Availability Extension 15 SP3","product_id":"SUSE Linux Enterprise High Availability Extension 15 SP3:ruby2.5-rubygem-activerecord-5_1"},"product_reference":"ruby2.5-rubygem-activerecord-5_1","relates_to_product_reference":"SUSE Linux Enterprise High Availability Extension 15 SP3"},{"category":"default_component_of","full_product_name":{"name":"rubygem-activerecord-5_1 as component of SUSE Linux Enterprise High Availability Extension 15 SP3","product_id":"SUSE Linux Enterprise High Availability Extension 15 SP3:rubygem-activerecord-5_1"},"product_reference":"rubygem-activerecord-5_1","relates_to_product_reference":"SUSE Linux Enterprise High Availability Extension 15 SP3"},{"category":"default_component_of","full_product_name":{"name":"ruby2.5-rubygem-activerecord-5_1 as component of SUSE Linux Enterprise High Availability Extension 15 SP4","product_id":"SUSE Linux Enterprise High Availability Extension 15 SP4:ruby2.5-rubygem-activerecord-5_1"},"product_reference":"ruby2.5-rubygem-activerecord-5_1","relates_to_product_reference":"SUSE Linux Enterprise High Availability Extension 15 SP4"},{"category":"default_component_of","full_product_name":{"name":"rubygem-activerecord-5_1 as component of SUSE Linux Enterprise High Availability Extension 15 SP4","product_id":"SUSE Linux Enterprise High Availability Extension 15 SP4:rubygem-activerecord-5_1"},"product_reference":"rubygem-activerecord-5_1","relates_to_product_reference":"SUSE Linux Enterprise High Availability Extension 15 SP4"},{"category":"default_component_of","full_product_name":{"name":"ruby2.1-rubygem-activerecord-4_2 as component of SUSE OpenStack Cloud Crowbar 8","product_id":"SUSE OpenStack Cloud Crowbar 8:ruby2.1-rubygem-activerecord-4_2"},"product_reference":"ruby2.1-rubygem-activerecord-4_2","relates_to_product_reference":"SUSE OpenStack Cloud Crowbar 8"},{"category":"default_component_of","full_product_name":{"name":"rubygem-activerecord-4_2 as component of SUSE OpenStack Cloud Crowbar 8","product_id":"SUSE OpenStack Cloud Crowbar 8:rubygem-activerecord-4_2"},"product_reference":"rubygem-activerecord-4_2","relates_to_product_reference":"SUSE OpenStack Cloud Crowbar 8"},{"category":"default_component_of","full_product_name":{"name":"ruby2.1-rubygem-activerecord-4_2 as component of SUSE OpenStack Cloud Crowbar 9","product_id":"SUSE OpenStack Cloud Crowbar 9:ruby2.1-rubygem-activerecord-4_2"},"product_reference":"ruby2.1-rubygem-activerecord-4_2","relates_to_product_reference":"SUSE OpenStack Cloud Crowbar 9"},{"category":"default_component_of","full_product_name":{"name":"rubygem-activerecord-4_2 as component of SUSE OpenStack Cloud Crowbar 9","product_id":"SUSE OpenStack Cloud Crowbar 9:rubygem-activerecord-4_2"},"product_reference":"rubygem-activerecord-4_2","relates_to_product_reference":"SUSE OpenStack Cloud Crowbar 9"}]},"vulnerabilities":[{"cve":"CVE-2023-22794","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2023-22794"}],"notes":[{"category":"general","text":"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.","title":"CVE description"}],"product_status":{"known_not_affected":["SUSE Linux Enterprise High Availability Extension 15 SP1:ruby2.5-rubygem-activerecord-5_1","SUSE Linux Enterprise High Availability Extension 15 SP1:rubygem-activerecord-5_1","SUSE Linux Enterprise High Availability Extension 15 SP2:ruby2.5-rubygem-activerecord-5_1","SUSE Linux Enterprise High Availability Extension 15 SP2:rubygem-activerecord-5_1","SUSE Linux Enterprise High Availability Extension 15 SP3:ruby2.5-rubygem-activerecord-5_1","SUSE Linux Enterprise High Availability Extension 15 SP3:rubygem-activerecord-5_1","SUSE Linux Enterprise High Availability Extension 15 SP4:ruby2.5-rubygem-activerecord-5_1","SUSE Linux Enterprise High Availability Extension 15 SP4:rubygem-activerecord-5_1","SUSE OpenStack Cloud Crowbar 8:ruby2.1-rubygem-activerecord-4_2","SUSE OpenStack Cloud Crowbar 8:rubygem-activerecord-4_2","SUSE OpenStack Cloud Crowbar 9:ruby2.1-rubygem-activerecord-4_2","SUSE OpenStack Cloud Crowbar 9:rubygem-activerecord-4_2"],"recommended":["openSUSE Tumbleweed:ruby3.1-rubygem-activerecord-7.0-7.0.4.1-1.1","openSUSE Tumbleweed:ruby3.2-rubygem-activerecord-7.0-7.0.4.1-1.1","openSUSE Tumbleweed:ruby3.3-rubygem-activerecord-7.0-7.0.8.4-1.1","openSUSE Tumbleweed:ruby3.4-rubygem-activerecord-7.0-7.0.8.6-1.3"]},"references":[{"category":"external","summary":"CVE-2023-22794","url":"https://www.suse.com/security/cve/CVE-2023-22794"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1207452 for CVE-2023-22794","url":"https://bugzilla.suse.com/1207452"},{"category":"external","summary":"Advisory link for openSUSE-SU-2025:15112-1","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/HY4OG4XVEU3VJA7BHFONYS4OFAKMFV4J/"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["openSUSE Tumbleweed:ruby3.1-rubygem-activerecord-7.0-7.0.4.1-1.1","openSUSE Tumbleweed:ruby3.2-rubygem-activerecord-7.0-7.0.4.1-1.1","openSUSE Tumbleweed:ruby3.3-rubygem-activerecord-7.0-7.0.8.4-1.1","openSUSE Tumbleweed:ruby3.4-rubygem-activerecord-7.0-7.0.8.6-1.3"]}],"scores":[{"cvss_v3":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"products":["openSUSE Tumbleweed:ruby3.1-rubygem-activerecord-7.0-7.0.4.1-1.1","openSUSE Tumbleweed:ruby3.2-rubygem-activerecord-7.0-7.0.4.1-1.1","openSUSE Tumbleweed:ruby3.3-rubygem-activerecord-7.0-7.0.8.4-1.1","openSUSE Tumbleweed:ruby3.4-rubygem-activerecord-7.0-7.0.8.6-1.3"]}],"threats":[{"category":"impact","date":"2023-01-24T10:15:10Z","details":"important"}],"title":"CVE-2023-22794"}]}