Security mailing lists by PureSourceCode

CVE-2025-22620

MEDIUM 5.0CVSS 3.1

gix-worktree-state nonexclusive checkout sets executable files world-writable

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.

Published
20 Jan 2025
Last modified
9 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-281CWE-687
Also known as
GHSA-fqmf-w4xh-33rhRUSTSEC-2025-0001
Sources
NVDJSONOSV GHSA-fqmf-w4xh-33rhJSONOSV RUSTSEC-2025-0001JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
OSV RustSec CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io gix-worktree-state < 0.17.0 0.17.0
OSV crates.io gix-worktree-state >= 0.0.0-0, < 0.17.0 0.17.0

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Jan 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Jan 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Jan 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.