{"id":"CVE-2025-55193","state":"PUBLISHED","title":"Active Record logging vulnerable to ANSI escape injection","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.","publishedAt":"2025-08-13T22:41:41.890Z","updatedAt":"2025-08-14T14:51:11.284Z","severity":{"score":2.7,"label":"Low","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["rails rails"],"affected":[{"vendor":"rails","product":"rails","versions":[{"version":">= 0, < 7.1.5.2","status":"affected"},{"version":">= 7.2, < 7.2.2.2","status":"affected"},{"version":">= 8.0, < 8.0.2.1","status":"affected"}]}],"references":["https://github.com/rails/rails/security/advisories/GHSA-76r7-hhxj-r776","https://github.com/rails/rails/commit/3beef20013736fd52c5dcfdf061f7999ba318290","https://github.com/rails/rails/commit/568c0bc2f1e74c65d150a84b89a080949bf9eb9b","https://github.com/rails/rails/commit/6a944ca4805e72050a0fbb1a461534eb760d3202"],"weaknesses":["CWE-150"],"ingestedAt":"2026-10-29T20:09:31.862Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/55xxx/CVE-2025-55193.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-55193","state":"PUBLISHED","datePublished":"2025-08-13T22:41:41.890Z","dateUpdated":"2025-08-14T14:51:11.284Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-08-08T21:55:07.963Z"},"containers":{"cna":{"title":"Active Record logging vulnerable to ANSI escape injection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"rails","product":"rails","versions":[{"version":">= 0, < 7.1.5.2","status":"affected"},{"version":">= 7.2, < 7.2.2.2","status":"affected"},{"version":">= 8.0, < 8.0.2.1","status":"affected"}]}],"references":[{"url":"https://github.com/rails/rails/security/advisories/GHSA-76r7-hhxj-r776","name":"https://github.com/rails/rails/security/advisories/GHSA-76r7-hhxj-r776","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rails/rails/commit/3beef20013736fd52c5dcfdf061f7999ba318290","name":"https://github.com/rails/rails/commit/3beef20013736fd52c5dcfdf061f7999ba318290","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/commit/568c0bc2f1e74c65d150a84b89a080949bf9eb9b","name":"https://github.com/rails/rails/commit/568c0bc2f1e74c65d150a84b89a080949bf9eb9b","tags":["x_refsource_MISC"]},{"url":"https://github.com/rails/rails/commit/6a944ca4805e72050a0fbb1a461534eb760d3202","name":"https://github.com/rails/rails/commit/6a944ca4805e72050a0fbb1a461534eb760d3202","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","baseScore":2.7,"baseSeverity":"LOW","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-150","lang":"en","description":"CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-08-13T22:41:41.890Z"},"source":{"advisory":"GHSA-76r7-hhxj-r776","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-08-14T13:42:07.857418Z","id":"CVE-2025-55193","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-08-14T14:51:11.284Z"}}]}}}