5

CVE-2025-22620: gix-worktree-state nonexclusive checkout sets executable files world-writable

Deferred
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 33.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
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 listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

33%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.37% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

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