From 96baad47ea91a9c20bcf89f9478dace825acc850 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Mon, 7 Apr 2025 16:42:19 +0000 Subject: [PATCH] Publish GHSA-794x-2rpg-rfgr --- .../GHSA-794x-2rpg-rfgr.json | 78 +++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 advisories/github-reviewed/2025/04/GHSA-794x-2rpg-rfgr/GHSA-794x-2rpg-rfgr.json diff --git a/advisories/github-reviewed/2025/04/GHSA-794x-2rpg-rfgr/GHSA-794x-2rpg-rfgr.json b/advisories/github-reviewed/2025/04/GHSA-794x-2rpg-rfgr/GHSA-794x-2rpg-rfgr.json new file mode 100644 index 00000000000..c8ff9520d9f --- /dev/null +++ b/advisories/github-reviewed/2025/04/GHSA-794x-2rpg-rfgr/GHSA-794x-2rpg-rfgr.json @@ -0,0 +1,78 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-794x-2rpg-rfgr", + "modified": "2025-04-07T16:40:25Z", + "published": "2025-04-07T16:40:25Z", + "aliases": [], + "summary": "Jujutsu does not have SHA-1 collision detection", + "details": "### Summary\nJujutsu 0.28.0 and earlier rely on versions of gitoxide that use SHA-1 hash implementations without any collision detection, leaving them vulnerable to hash collision attacks.\n\n### Details\nThis is a result of the underlying [CVE-2025-31130 / GHSA-2frx-2596-x5r6](https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-2frx-2596-x5r6) vulnerability in the gitoxide library Jujutsu uses to interact with Git repositories; see that advisory for technical details. This separate advisory is being issued due to the downstream impact on users of Jujutsu.\n\n### Impact\nAn attacker with the ability to mount a collision attack on SHA-1 like the [SHAttered](https://shattered.io/) or [SHA-1 is a Shambles](https://sha-mbles.github.io/) attacks could create two distinct Git objects with the same hash. This is becoming increasingly affordable for well‐resourced attackers, with the Shambles researchers in 2020 estimating $45k for a chosen‐prefix collision or $11k for a classical collision, and projecting less than $10k for a chosen‐prefix collision by 2025. The result could be used to disguise malicious repository contents, or potentially exploit assumptions in Jujutsu’s logic to cause further vulnerabilities.", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "crates.io", + "name": "jj-lib" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "0.28.1" + } + ] + } + ] + }, + { + "package": { + "ecosystem": "crates.io", + "name": "jj-cli" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "0.28.1" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/jj-vcs/jj/security/advisories/GHSA-794x-2rpg-rfgr" + }, + { + "type": "WEB", + "url": "https://github.com/jj-vcs/jj/commit/350da7d013773377aec0d3a4bf4374d3c941460e" + }, + { + "type": "PACKAGE", + "url": "https://github.com/jj-vcs/jj" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-328" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2025-04-07T16:40:25Z", + "nvd_published_at": null + } +} \ No newline at end of file