CVE-2025-55193
Ruby vulnerability analysis and mitigation

Overview

Active Record, a component that connects classes to relational database tables, was found to have a security vulnerability (CVE-2025-55193) disclosed on August 13, 2025. The vulnerability affects versions prior to 7.1.5.2, 7.2.2.2, and 8.0.2.1, where the ID passed to find or similar methods may be logged without proper escaping (GitHub Advisory).

Technical details

The vulnerability is classified as CWE-150 (Improper Neutralization of Escape, Meta, or Control Sequences). When using the find or similar methods in Active Record, the ID parameter is logged without proper escaping, which could potentially include unescaped ANSI sequences if output directly to the terminal. The vulnerability has been assigned a CVSS 4.0 score of 2.7 (LOW) with vector string CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N/E:U (NVD).

Impact

If exploited, this vulnerability could allow unescaped ANSI sequences to be included in terminal output when logging record lookups. This could potentially lead to terminal manipulation or display issues when viewing logs (GitHub Advisory).

Mitigation and workarounds

The issue has been patched in versions 7.1.5.2, 7.2.2.2, and 8.0.2.1. Users should upgrade to these or later versions to address the vulnerability. The fix involves properly escaping IDs in RecordNotFound error messages (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61919HIGH7.5
  • RubyRuby
  • ruby3.4-rack-2.2
NoYesOct 10, 2025
CVE-2025-61772HIGH7.5
  • RubyRuby
  • ruby3.4-rails-8.0
NoYesOct 07, 2025
CVE-2025-61771HIGH7.5
  • RubyRuby
  • ruby3.2-rails-7.2
NoYesOct 07, 2025
CVE-2025-61780MEDIUM5.8
  • RubyRuby
  • logstash-9.1
NoYesOct 10, 2025
CVE-2025-61921LOW2.7
  • RubyRuby
  • gitlab-cng-18.4
NoYesOct 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management