Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. jj-lib
  4. ›
  5. CVE-2024-51990

CVE-2024-51990: jj vulnerable to path traversal via crafted Git repositories

November 7, 2024

Specially crafted Git repositories can cause jj to write files outside the clone.

References

  • github.com/advisories/GHSA-88h5-6w7m-5w56
  • github.com/martinvonz/jj
  • github.com/martinvonz/jj/security/advisories/GHSA-88h5-6w7m-5w56
  • nvd.nist.gov/vuln/detail/CVE-2024-51990

Code Behaviors & Features

Detect and mitigate CVE-2024-51990 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.23.0

Fixed versions

  • 0.23.0

Solution

Upgrade to version 0.23.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

cargo/jj-lib/CVE-2024-51990.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:07 +0000.