Advisory record · GHSA-794x-2rpg-rfgr

Jujutsu does not have SHA-1 collision detection

CVSS 6.8 Medium

Published by the GitHub Advisory Database at 7 Apr 2025, 16:40 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
jj-libcrates.io<0.28.10.28.1
jj-clicrates.io<0.28.10.28.1
Identifiers
GHSA-794x-2rpg-rfgr
Weakness (CWE)
CWE-328
Published
7 Apr 2025
Updated
7 Apr 2025

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Jujutsu versions below 0.28.1, specifically the jj-lib and jj-cli crates, are affected because they rely on gitoxide versions whose SHA-1 implementation lacks collision detection. An attacker able to carry out a SHA-1 collision attack could create two different Git objects with the same hash, which could be used to disguise malicious repository contents. Upgrade jj-lib and jj-cli to 0.28.1.

Written 8 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.8 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS No score.

Timeline

  1. 31 Oct 2026, 15:20 UTC First seen by agentprime
  2. 31 Oct 2026, 15:20 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.