CVE-2023-22794 is a high-severity SQL injection vulnerability affecting ActiveRecord versions prior to 6.0.6.1, 6.1.7.1, and 7.0.4.1. Malicious user input passed to the annotate or optimizer_hints query methods, or via the QueryLogs interface, can bypass sanitization and inject SQL commands outside of intended comments. This vulnerability carries a CVSS score of 8.8, indicating a high potential for complete compromise of confidentiality, integrity, and availability with low attack complexity and no user interaction required. While no active exploits, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion have been observed, the high FAUCET Risk Score of 80/100 suggests a significant risk.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
>= 6.0.0, < 6.0.6.1CPE matchmatch criteria | cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:* | ||
>= 6.1.0, < 6.1.7.1CPE matchmatch criteria | cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:* | ||
>= 7.0.0, < 7.0.4.1CPE matchmatch criteria | cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.3 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.