5

CVE-2025-22620: gitoxidelabs gitoxide Improper Preservation of Permissions

CVSS: 5.0v3.1MediumDeferred
AliasesUBUNTU-CVE-2025-22620DEBIAN-CVE-2025-22620CGA-8whw-gj3r-ghfg
Published 20-01-2025Last modified 21-01-2025

Vulnerability summary

CVE-2025-22620 is a medium (CVSS 5.0) Improper Preservation of Permissions vulnerability in gitoxidelabs gitoxide. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 29.6% of scored vulnerabilities.

Overall risk
20/100
0100
Low · default modelHow is this calculated?
CVSS score
5.0/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.37%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 4

Timeline

  1. 20-01-2025
    PublishedVulnerability first disclosed.
  2. 21-01-2025
    Last modifiedVulnerability information updated.

Description

gitoxide is an implementation of git written in Rust. Prior to 0.17.0, gix-worktree-state specifies 0777 permissions when checking out executable files, intending that the umask will restrict them appropriately. But one of the strategies it uses to set permissions is not subject to the umask. This causes files in a repository to be world-writable in some situations. This vulnerability is fixed in 0.17.0.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.37%

Chance of exploitation in the next 30 days

Percentile

30%

Versus all other CVEs

30-day change

0.00 pp

From 0.37% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.37%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard1 product
  • cargo-audit< 0.21.2-r0
Crates.Io1 product
  • gix-worktree-state< 0.17.0 | ≥ 0.0.0-0, < 0.17.0
Debian1 product
  • rust-gix-worktree-state< 0.11.1-2
Gitoxidelabs1 product
Ubuntu1 product
  • rust-gix-worktree-state< 0.11.1-2
Wolfi1 product
  • cargo-audit< 0.21.2-r0

6 vendors · 6 products

References

11 links
Show all 11 references