{"id":"CVE-2024-51990","published":"2024-11-07T00:15:17Z","modified":"2024-11-07T16:57:48Z","title":"Path traversal via crafted Git repositories in jj","vendor":"martinvonz","product":"jj","tier":"tail","description":{"text":"jj, or Jujutsu, is a Git-compatible VCS written in rust. In affected versions specially crafted Git repositories can cause `jj` to write files outside the clone. This issue has been addressed in version 0.23.0. Users are advised to upgrade. Users unable to upgrade should avoid cloning repos from unknown sources.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.3,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00615,"percentile":0.50405,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/martinvonz/jj/security/advisories/GHSA-88h5-6w7m-5w56","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":10.08},{"name":"CVSS severity","points":6.51}]},"vendorSlug":"martinvonz","affectedVersions":[{"vendor":"martinvonz","product":"jj","versions":["< 0.23.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-11-07T16:55:04.636117Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"jj-lib","vulnerableRanges":["<0.23.0"],"patched":["0.23.0"],"from":["GHSA-88h5-6w7m-5w56"],"provenance":"source"}],"summary":{"text":"The flaw is a path traversal weakness in jj (Jujutsu), a Git-compatible version control system written in Rust, which lets specially crafted Git repositories cause it to write files outside the clone directory. An attacker who can get a user to clone a malicious repository over the network, with no authentication or additional user interaction required beyond that clone, can write arbitrary files outside the clone location on the affected system.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:52:37Z"},"euvd":{"id":"EUVD-2024-3221","exploited":false,"provenance":"source"}}