Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-22794

published

rubygem-activerecord: SQL Injection

Title from Red Hat VEX

Published
09 Feb 2023, 00:00:00 UTC
Updated
02 Aug 2024, 10:20:30 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — https://github.com/rails/rails6.0.6.1, 6.1.7.1, 7.0.4.1 Affected Not stated hackerone
Debian bullseye rails Advisory build 2:6.0.3.7+dfsg-2+deb11u1 DSA-5372-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.1-rubygem-activerecord-7.0aarch64 Advisory build 7.0.4.1-1.1 OPENSUSE-SU-2024:12766-1
Rocky Linux 8 libdb-cxxx86_64 Listed in advisory Not stated RLSA-2023:6818
SUSE / openSUSE openSUSE-Tumbleweed ruby3.1-rubygem-activerecord-7.0ppc64le Advisory build 7.0.4.1-1.1 OPENSUSE-SU-2024:12766-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.1-rubygem-activerecord-7.0s390x Advisory build 7.0.4.1-1.1 OPENSUSE-SU-2024:12766-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.1-rubygem-activerecord-7.0x86_64 Advisory build 7.0.4.1-1.1 OPENSUSE-SU-2024:12766-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.2-rubygem-activerecord-7.0aarch64 Advisory build 7.0.4.1-1.1 OPENSUSE-SU-2024:12766-1
Show 17 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed ruby3.2-rubygem-activerecord-7.0ppc64le Advisory build 7.0.4.1-1.1 OPENSUSE-SU-2024:12766-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.2-rubygem-activerecord-7.0s390x Advisory build 7.0.4.1-1.1 OPENSUSE-SU-2024:12766-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.2-rubygem-activerecord-7.0x86_64 Advisory build 7.0.4.1-1.1 OPENSUSE-SU-2024:12766-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.3-rubygem-activerecord-7.0aarch64 Advisory build 7.0.8.4-1.1 OPENSUSE-SU-2024:14069-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.3-rubygem-activerecord-7.0ppc64le Advisory build 7.0.8.4-1.1 OPENSUSE-SU-2024:14069-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.3-rubygem-activerecord-7.0s390x Advisory build 7.0.8.4-1.1 OPENSUSE-SU-2024:14069-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.3-rubygem-activerecord-7.0x86_64 Advisory build 7.0.8.4-1.1 OPENSUSE-SU-2024:14069-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.4-rubygem-activerecord-7.0aarch64 Advisory build 7.0.8.6-1.3 OPENSUSE-SU-2025:15112-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.4-rubygem-activerecord-7.0ppc64le Advisory build 7.0.8.6-1.3 OPENSUSE-SU-2025:15112-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.4-rubygem-activerecord-7.0s390x Advisory build 7.0.8.6-1.3 OPENSUSE-SU-2025:15112-1
SUSE / openSUSE openSUSE-Tumbleweed ruby3.4-rubygem-activerecord-7.0x86_64 Advisory build 7.0.8.6-1.3 OPENSUSE-SU-2025:15112-1
Rocky Linux 8 libdb-cxx-debuginfox86_64 Listed in advisory Not stated RLSA-2023:6818
Rocky Linux 8 libdb-debuginfox86_64 Listed in advisory Not stated RLSA-2023:6818
Rocky Linux 8 libdb-debugsourcex86_64 Listed in advisory Not stated RLSA-2023:6818
Rocky Linux 8 libdb-sql-debuginfox86_64 Listed in advisory Not stated RLSA-2023:6818
Rocky Linux 8 libdb-sql-devel-debuginfox86_64 Listed in advisory Not stated RLSA-2023:6818
Rocky Linux 8 libdb-utils-debuginfox86_64 Listed in advisory Not stated RLSA-2023:6818

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.

en · hackerone · cna

Vendor advisories explicitly linked to this CVE.

5

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a https://github.com/rails/rails 6.0.6.1, 6.1.7.1, 7.0.4.1 (affected) hackerone · cna

Weaknesses

1
  • CWE-89 SQL Injection (CWE-89) (hackerone · cna)

References

3

Provider assertions

2

hackerone · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
16fa958915b5d0c06edbf6c0cda37aaf33a9af66febcd90ef1a1efa7e1c9c2fa
Ingested
23 Sep 2026, 08:06:15 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected