{"answers":{"affected":"3 open source packages ship an affected version, including gix-transport.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-53158 exists.","fix":"Upgrade gix-transport to 0.36.1 or later.","what":"CVE-2023-53158 is a medium-severity vulnerability in GitoxideLabs gix-transport, published on 28 Jul 2025."},"fix_prompt":"Check this codebase for CVE-2023-53158 and fix it if it is affected.\n\nWhat it is: CVE-2023-53158 is a medium-severity vulnerability in GitoxideLabs gix-transport, published on 28 Jul 2025. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-53158 exists.\n\nAffected packages and fixed versions:\n- gix-transport (crates.io): affected all versions; fixed in 0.36.1\n- gix-transport (crates.io): affected all versions; fixed in 0.36.1\n- gix-transport (crates.io): affected from 0.0.0-0; fixed in 0.36.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-2023-53158/ (Markdown: https://insights.sbomify.com/CVE-2023-53158/index.md)","id":"CVE-2023-53158","markdown":"https://insights.sbomify.com/CVE-2023-53158/index.md","name":"CVE-2023-53158","record":{"aliases":["AZL-66020","GHSA-rrjw-j4m2-mf34","RUSTSEC-2023-0064","UBUNTU-CVE-2023-53158"],"analysis":null,"analysis_generated_by":null,"assigner":"mitre","cpe":[],"cvss":{"score":4.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"The gix-transport crate before 0.36.1 for Rust allows command execution via the \"gix clone 'ssh://-oProxyCommand=open$IFS\" substring. NOTE: this was discovered before CVE-2024-32884, a similar vulnerability (involving a username field) that is more difficult to exploit.","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":true,"headline":"gix-transport code execution vulnerability","id":"CVE-2023-53158","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":null,"year":"2023"},"n_packages":3,"n_references":4,"next":{"headline":"`openssl` `X509VerifyParamRef::set_host` buffer over-read","id":"CVE-2023-53159"},"packages":[{"ecosystem":"crates.io","fixed":["0.36.1"],"introduced":["0"],"last_affected":[],"package":"gix-transport","purl":null,"source":"GHSA-rrjw-j4m2-mf34"},{"ecosystem":"crates.io","fixed":["0.36.1"],"introduced":["0"],"last_affected":[],"package":"gix-transport","purl":"pkg:cargo/gix-transport","source":"GHSA-rrjw-j4m2-mf34"},{"ecosystem":"crates.io","fixed":["0.36.1"],"introduced":["0.0.0-0"],"last_affected":[],"package":"gix-transport","purl":"pkg:cargo/gix-transport","source":"RUSTSEC-2023-0064"}],"prev":{"headline":"Remotely exploitable denial of service in Rosenpass","id":"CVE-2023-53157"},"products":["gix-transport"],"published":"2025-07-28","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":"2025-07-28","vendors":["GitoxideLabs"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2023-53158/"}