CVE-2023-22794
Summary
| CVE | CVE-2023-22794 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-02-09 20:15:00 UTC |
| Updated | 2024-02-02 14:15:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| Debian -- Security Information -- DSA-5372-1 rails |
DEBIAN |
www.debian.org |
|
| CVE-2023-22794 Ruby on Rails Vulnerability in NetApp Products | NetApp Product Security |
|
security.netapp.com |
|
| [CVE-2023-22794] SQL Injection Vulnerability via ActiveRecord comments - Security Announcements - Ruby on Rails Discussions |
MISC |
discuss.rubyonrails.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 181676 Debian Security Update for rails (DSA 5372-1)
- 184713 Debian Security Update for rails (CVE-2023-22794)
- 242347 Red Hat Update for Satellite 6.14 (RHSA-2023:6818)
- 284280 Fedora Security Update for rubygem (FEDORA-2023-f60cca0686)
- 961065 Rocky Linux Security Update for Satellite (RLSA-2023:6818)