gix-worktree-state nonexclusive checkout sets executable files world-writable (GitoxideLabs gitoxide)

CVE-2025-22620
MEDIUM 5.0

En bref

Source
NVD
EPSS
EPSS 0.37 % · centile 31 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
GitHub_M
Statut NVD
Deferred

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.

Faiblesses (CWE)

  • CWE-281 — Préservation incorrecte des permissions
  • CWE-687 — Function Call With Incorrectly Specified Argument Value

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.0CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:NGitHub_M
CVSS 3.1MEDIUM 5.0CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:NNVD · security-advisories@github.com (Secondary)

Références européennes

Produits affectés

ProduitVersions
GitoxideLabs · gitoxideaffected < 0.17.0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD