{"id":"CVE-2024-51990","state":"PUBLISHED","title":"Path traversal via crafted Git repositories in jj","description":"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.","publishedAt":"2024-11-07T00:15:17.443Z","updatedAt":"2024-11-07T16:57:48.274Z","severity":{"score":9.3,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["martinvonz jj"],"affected":[{"vendor":"martinvonz","product":"jj","versions":[{"version":"< 0.23.0","status":"affected"}]}],"references":["https://github.com/martinvonz/jj/security/advisories/GHSA-88h5-6w7m-5w56"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:08:04.920Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/51xxx/CVE-2024-51990.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-51990","state":"PUBLISHED","datePublished":"2024-11-07T00:15:17.443Z","dateUpdated":"2024-11-07T16:57:48.274Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-11-04T17:46:16.775Z"},"containers":{"cna":{"title":"Path traversal via crafted Git repositories in jj","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"martinvonz","product":"jj","versions":[{"version":"< 0.23.0","status":"affected"}]}],"references":[{"url":"https://github.com/martinvonz/jj/security/advisories/GHSA-88h5-6w7m-5w56","name":"https://github.com/martinvonz/jj/security/advisories/GHSA-88h5-6w7m-5w56","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":9.3,"baseSeverity":"CRITICAL","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-11-07T00:15:17.443Z"},"source":{"advisory":"GHSA-88h5-6w7m-5w56","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"martinvonz","product":"jj","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"0.23.0","versionType":"custom"}],"cpes":["cpe:2.3:a:martinvonz:jj:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-07T16:55:04.636117Z","id":"CVE-2024-51990","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-07T16:57:48.274Z"}}]}}}