Active Record logging vulnerable to ANSI escape injection
8Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 2.7epss 0.6%
exploitation probability
0.6%top 56% of all CVEs
observed exploitation
nono source reports it
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.
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
Affected products
rails · railsReferences
https://github.com/rails/rails/commit/3beef20013736fd52c5dcfdf061f7999ba318290https://github.com/rails/rails/commit/568c0bc2f1e74c65d150a84b89a080949bf9eb9bhttps://github.com/rails/rails/commit/6a944ca4805e72050a0fbb1a461534eb760d3202https://github.com/rails/rails/security/advisories/GHSA-76r7-hhxj-r776