CVE-2024-51990
Rust vulnerability analysis and mitigation

Overview

jj (Jujutsu), a Git-compatible Version Control System written in Rust, was found to be vulnerable to path traversal attacks in versions prior to 0.23.0. The vulnerability (CVE-2024-51990) was discovered and disclosed on November 6, 2024, allowing attackers to write files outside the clone directory through specially crafted Git repositories (GitHub Advisory).

Technical details

The vulnerability stems from improper path validation when handling file objects containing path traversals in Git repositories. When cloning a maliciously crafted repository, jj fails to properly sanitize paths containing '../' sequences, allowing writes to arbitrary locations outside the intended clone directory. The vulnerability has been assigned a CVSS v4.0 score of 9.3 CRITICAL with vector string 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, indicating high severity with network attack vector and no special privileges required (NVD).

Impact

Successful exploitation of this vulnerability allows attackers to write files to arbitrary locations outside the clone directory, potentially leading to system compromise through malicious file placement. The attack can be initiated remotely through a specially crafted Git repository (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 0.23.0 of jj. Users are strongly advised to upgrade to this version. For users unable to upgrade immediately, the only workaround is to avoid cloning repositories from untrusted sources (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22863CRITICAL9.2
  • RustRust
  • deno
NoYesJan 15, 2026
CVE-2026-23519HIGH8.9
  • RustRust
  • cmov
NoYesJan 15, 2026
RUSTSEC-2026-0003HIGH8.9
  • RustRust
  • cmov
NoYesJan 14, 2026
CVE-2026-22864HIGH8.1
  • RustRust
  • deno
NoYesJan 15, 2026
CVE-2026-22782LOW2.9
  • RustRust
  • rustfs
NoYesJan 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management