CVE-2025-55193

NameCVE-2025-55193
DescriptionActive 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4416-1, DSA-6090-1
Debian Bugs1111106

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rails (PTS)bullseye2:6.0.3.7+dfsg-2+deb11u2vulnerable
bullseye (security)2:6.0.3.7+dfsg-2+deb11u4fixed
bookworm2:6.1.7.10+dfsg-1~deb12u1vulnerable
bookworm (security)2:6.1.7.10+dfsg-1~deb12u2fixed
trixie2:7.2.2.1+dfsg-7vulnerable
trixie (security)2:7.2.2.2+dfsg-2~deb13u1fixed
forky, sid2:7.2.2.2+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
railssourcebullseye2:6.0.3.7+dfsg-2+deb11u4DLA-4416-1
railssourcebookworm2:6.1.7.10+dfsg-1~deb12u2DSA-6090-1
railssourcetrixie2:7.2.2.2+dfsg-2~deb13u1DSA-6090-1
railssource(unstable)2:7.2.2.2+dfsg-11111106

Notes

https://github.com/rails/rails/security/advisories/GHSA-76r7-hhxj-r776
https://github.com/rails/rails/commit/3beef20013736fd52c5dcfdf061f7999ba318290 (v7.1.5.2)
https://github.com/rails/rails/commit/6a944ca4805e72050a0fbb1a461534eb760d3202 (v7.2.2.2)
https://github.com/rails/rails/commit/568c0bc2f1e74c65d150a84b89a080949bf9eb9b (v8.0.2.1)

Search for package or bug name: Reporting problems