CVE-2023-22794

rubygem-activerecord: SQL Injection

Published Feb 9, 2023 CVSS 3.1 · 8.8 High EPSS 2.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5372-1 rails security update
Github GHSA Github GHSA GHSA-hq7p-j377-6v63 SQL Injection Vulnerability via ActiveRecord comments
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Aug 2, 2024, 10:20 AM
Reserved
Jan 6, 2023, 12:00 AM
Status
Modified
Published
Feb 9, 2023, 8:15 PM
Modified
Oct 23, 2026, 11:10 PM
Severity
Important
Public date
Jan 20, 2023, 12:00 AM