2.7Low

CVE-2025-55193Active Record logging vulnerable to ANSI escape injection

rails rails Published: (1 year ago)

Description

Active Record connects classes to relational database tables. Prior to versions 7.1.5.2, 7.2.2.2, and 8.0.2.1, the ID passed to find or similar methods may be logged without escaping. If this is directly to the terminal it may include unescaped ANSI sequences. This issue has been patched in versions 7.1.5.2, 7.2.2.2, and 8.0.2.1.

Weakness (CWE): CWE-150

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
rails rails >= 0, < 7.1.5.2, >= 7.2, < 7.2.2.2, >= 8.0, < 8.0.2.1

References and patches