CVE catalog

CVE-2023-22794

rails: CVE-2023-22794

[CVE catalog]

Severity
High · CVSS 8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
2.15% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianrailssid2:7.2.4+dfsg-2fixed
Debianrailsforky2:7.2.4+dfsg-1fixed
Debianrailstrixie2:7.2.2.2+dfsg-2~deb13u1fixed
Debianrailstrixie-security2:7.2.2.2+dfsg-2~deb13u2fixed
Debianrailsbookworm2:6.1.7.10+dfsg-1~deb12u2fixed
Debianrailsbookworm-security2:6.1.7.10+dfsg-1~deb12u3fixed
CpeactiverecordNot reported7.0.4.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrailssourcesid2:6.1.7.3+dfsg-1not yet assignedNot reported[1030050]
Debianrailssourceforky2:6.1.7.3+dfsg-1not yet assignedNot reported[1030050]
Debianrailssourcetrixie2:6.1.7.3+dfsg-1not yet assignedNot reported[1030050]
Debianrailssourcebookworm2:6.1.7.3+dfsg-1not yet assignedNot reported[1030050]
CpeactiverecordcpeNot reported7.0.4.1Not reportedNVD-CVE-2023-22794Not reported

[Debian bug #1030050]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References