{"answers":{"affected":"5 open source packages ship an affected version, including gitoxide-core and gitoxide.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-43785 exists.","fix":"No fix has been published for CVE-2024-43785 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-43785 is a low-severity vulnerability in Byron gitoxide, published on 22 Aug 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-43785 and fix it if it is affected.\n\nWhat it is: CVE-2024-43785 is a low-severity vulnerability in Byron gitoxide, published on 22 Aug 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-43785 exists.\n\nAffected packages and fixed versions:\n- gitoxide-core (crates.io): affected all versions up to 0.45.0; no fix listed\n- gitoxide-core (crates.io): affected all versions up to 0.45.0; no fix listed\n- gitoxide-core (crates.io): affected from 0.0.0-0; no fix listed\n- gitoxide (crates.io): affected all versions up to 0.41.0; no fix listed\n- gitoxide (crates.io): affected all versions up to 0.41.0; no fix listed\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-2024-43785/ (Markdown: https://insights.sbomify.com/CVE-2024-43785/index.md)","id":"CVE-2024-43785","markdown":"https://insights.sbomify.com/CVE-2024-43785/index.md","name":"CVE-2024-43785","record":{"aliases":["GHSA-88g2-r9rw-g55h","RUSTSEC-2024-0364"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["other"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Git implementation library","requires_auth":"none","summary":"Attackers can manipulate terminal output via unescaped control characters in repository metadata, misleading users about repository contents or errors.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":2.5,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"description":"gitoxide An idiomatic, lean, fast \u0026 safe pure Rust implementation of Git. gitoxide-core, which provides most underlying functionality of the gix and ein commands, does not neutralize newlines, backspaces, or control characters—including those that form ANSI escape sequences—that appear in a repository's paths, author and committer names, commit messages, or other metadata. Such text may be written as part of the output of a command, as well as appearing in error messages when an operation fails. This sometimes allows an untrusted repository to misrepresent its contents and to alter or concoct error messages.","ecosystems":["crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"gitoxide-core does not neutralize special characters for terminals","id":"CVE-2024-43785","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"other","year":"2024"},"n_packages":5,"n_references":1,"next":{"headline":"Hono CSRF middleware can be bypassed using crafted Content-Type header","id":"CVE-2024-43787"},"packages":[{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":["0.41.0"],"package":"gitoxide","purl":null,"source":"GHSA-88g2-r9rw-g55h"},{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":["0.41.0"],"package":"gitoxide","purl":"pkg:cargo/gitoxide","source":"GHSA-88g2-r9rw-g55h"},{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":["0.45.0"],"package":"gitoxide-core","purl":null,"source":"GHSA-88g2-r9rw-g55h"},{"ecosystem":"crates.io","fixed":[],"introduced":["0"],"last_affected":["0.45.0"],"package":"gitoxide-core","purl":"pkg:cargo/gitoxide-core","source":"GHSA-88g2-r9rw-g55h"},{"ecosystem":"crates.io","fixed":[],"introduced":["0.0.0-0"],"last_affected":[],"package":"gitoxide-core","purl":"pkg:cargo/gitoxide-core","source":"RUSTSEC-2024-0364"}],"prev":{"headline":"Re-creating a deleted user in lakeFS will re-enable previous user credentials that existed prior to it's deletion","id":"CVE-2024-43784"},"products":["gitoxide"],"published":"2024-08-22","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":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-22","vendors":["Byron"]},"summary":"Attackers can manipulate terminal output via unescaped control characters in repository metadata, misleading users about repository contents or errors.","url":"https://insights.sbomify.com/CVE-2024-43785/"}