{"answers":{"affected":"6 open source packages ship an affected version, including activerecord.","exploited":"There is no known exploitation of CVE-2025-55193 in the wild and no public exploit code.","fix":"Upgrade activerecord to a fixed version for your release line: 7.1.5.2, 7.2.2.2 or 8.0.2.1.","what":"CVE-2025-55193 is a low-severity vulnerability in rails, published on 13 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-55193 and fix it if it is affected.\n\nWhat it is: CVE-2025-55193 is a low-severity vulnerability in rails, published on 13 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-55193 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- activerecord (RubyGems): affected all versions; fixed in 7.1.5.2\n- activerecord (RubyGems): affected all versions; fixed in 7.1.5.2\n- activerecord (RubyGems): affected from 7.2; fixed in 7.2.2.2\n- activerecord (RubyGems): affected from 7.2; fixed in 7.2.2.2\n- activerecord (RubyGems): affected from 8.0; fixed in 8.0.2.1\n- activerecord (RubyGems): affected from 8.0; fixed in 8.0.2.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-55193/ (Markdown: https://insights.sbomify.com/CVE-2025-55193/index.md)","id":"CVE-2025-55193","markdown":"https://insights.sbomify.com/CVE-2025-55193/index.md","name":"CVE-2025-55193","record":{"aliases":["DEBIAN-CVE-2025-55193","GHSA-76r7-hhxj-r776","UBUNTU-CVE-2025-55193","openSUSE-SU-2025:15479-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["other"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby on Rails ORM","requires_auth":"none","summary":"Attackers can inject ANSI escape sequences into Active Record logs via database IDs, potentially manipulating terminal output or hiding malicious activity.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":2.7,"severity":"low","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"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.","ecosystems":["RubyGems","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Active Record logging vulnerable to ANSI escape injection","id":"CVE-2025-55193","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"other","year":"2025"},"n_packages":7,"n_references":4,"next":{"headline":"Part-DB Persistent Denial of Service via Uncaught Exception from Misleading File Extension in Avatar Upload","id":"CVE-2025-55194"},"packages":[{"ecosystem":"RubyGems","fixed":["7.1.5.2"],"introduced":["0"],"last_affected":[],"package":"activerecord","purl":null,"source":"GHSA-76r7-hhxj-r776"},{"ecosystem":"RubyGems","fixed":["7.1.5.2"],"introduced":["0"],"last_affected":[],"package":"activerecord","purl":"pkg:gem/activerecord","source":"GHSA-76r7-hhxj-r776"},{"ecosystem":"RubyGems","fixed":["7.2.2.2"],"introduced":["7.2"],"last_affected":[],"package":"activerecord","purl":null,"source":"GHSA-76r7-hhxj-r776"},{"ecosystem":"RubyGems","fixed":["7.2.2.2"],"introduced":["7.2"],"last_affected":[],"package":"activerecord","purl":"pkg:gem/activerecord","source":"GHSA-76r7-hhxj-r776"},{"ecosystem":"RubyGems","fixed":["8.0.2.1"],"introduced":["8.0"],"last_affected":[],"package":"activerecord","purl":null,"source":"GHSA-76r7-hhxj-r776"},{"ecosystem":"RubyGems","fixed":["8.0.2.1"],"introduced":["8.0"],"last_affected":[],"package":"activerecord","purl":"pkg:gem/activerecord","source":"GHSA-76r7-hhxj-r776"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["8.0.1-2.1"],"introduced":["0"],"last_affected":[],"package":"rubygem-activerecord-8.0","purl":"pkg:rpm/opensuse/rubygem-activerecord-8.0\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15479-1"}],"prev":{"headline":"HomeAssistant-Tapo-Control Code Injection Vulnerability in issues.yml Workflow","id":"CVE-2025-55192"},"products":["rails"],"published":"2025-08-13","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-08-14","vendors":["rails"]},"summary":"Attackers can inject ANSI escape sequences into Active Record logs via database IDs, potentially manipulating terminal output or hiding malicious activity.","url":"https://insights.sbomify.com/CVE-2025-55193/"}