8.8

CVE-2023-22794: activerecord_project activerecord

Modified
AliasesUBUNTU-CVE-2023-22794DEBIAN-CVE-2023-22794GHSA-hq7p-j377-6v63
Published 09-02-2023Last modified 02-08-2024

Vulnerability summary

CVE-2023-22794 is a high (CVSS 8.8) vulnerability in activerecord_project activerecord. EPSS estimates a 2.15% chance of exploitation in the next 30 days, higher than 82.1% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (reference, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (NVD)
EPSS score
2.15%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 5 · Related 3

Timeline

  1. 09-02-2023
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

2.15%

Chance of exploitation in the next 30 days

Percentile

82%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.15% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (discuss.rubyonrails.org)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Activerecord_project1 product
  • activerecord≥ 6.0.0, < 6.0.6.1 | ≥ 6.1.0, < 6.1.7.1 | ≥ 7.0.0, < 7.0.4.1
Debian1 product
  • rails< 2:6.1.7.3+dfsg-1
RubyGems1 product
  • activerecord≥ 6.0.0, < 6.0.6.1 | ≥ 6.1.0, < 6.1.7.1 | ≥ 7.0.0, < 7.0.4.1
Ubuntu1 product
  • railsAll versions (No fix recorded)

4 vendors · 4 products

References

13 links
Show all 13 references