ADVISORIES

Vulnerability

CVE-2023-22794

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.

10 advisories report this vulnerability, across 6 ecosystems.

Advisories in openSUSE

  • openSUSE-SU-2024:12766-1

    ruby3.1-rubygem-activerecord-7.0-7.0.4.1-1.1 on GA media

    CVE-2022-44566CVE-2023-22794 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14069-1

    ruby3.3-rubygem-activerecord-7.0-7.0.8.4-1.1 on GA media

    CVE-2022-32224CVE-2022-44566CVE-2023-22794CVE-2023-38037 openSUSE Updated 4 February 2026
  • openSUSE-SU-2025:15112-1

    ruby3.4-rubygem-activerecord-7.0-7.0.8.6-1.3 on GA media

    CVE-2022-32224CVE-2022-44566CVE-2023-22794CVE-2023-38037 openSUSE Updated 4 February 2026

References