Security mailing lists by PureSourceCode

CVE-2024-35186

HIGH 8.8CVSS 3.1

gix traversal outside working tree enables arbitrary code execution

gitoxide is a pure Rust implementation of Git. During checkout, gix-worktree-state does not verify that paths point to locations in the working tree. A specially crafted repository can, when cloned, place new files anywhere writable by the application. This vulnerability leads to a major loss of confidentiality, integrity, and availability, but creating files outside a working tree without attempting to execute code can directly impact integrity as well. This vulnerability has been patched in version(s) 0.36.0.

Published
23 May 2024
Last modified
9 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-22CWE-23
Also known as
GHSA-7w47-3wg8-547cRUSTSEC-2024-0348RUSTSEC-2024-0349RUSTSEC-2024-0350
Sources
NVDJSONOSV GHSA-7w47-3wg8-547cJSONOSV RUSTSEC-2024-0348JSONOSV RUSTSEC-2024-0349JSONOSV RUSTSEC-2024-0350JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV RustSec CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io gix-worktree-state < 0.11.0 0.11.0
OSV crates.io gitoxide < 0.36.0 0.36.0
OSV crates.io gix-fs < 0.11.0 0.11.0
OSV crates.io gix-worktree < 0.34.0 0.34.0
OSV crates.io gix < 0.63.0 0.63.0
OSV crates.io gitoxide-core < 0.38.0 0.38.0
OSV crates.io gix-index < 0.33.0 0.33.0
OSV crates.io gix-index >= 0.0.0-0, < 0.33.0 0.33.0
OSV crates.io gix-worktree >= 0.0.0-0, < 0.34.0 0.34.0
OSV crates.io gix-fs >= 0.0.0-0, < 0.11.0 0.11.0

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 23 May 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 May 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 May 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 May 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 May 2024)
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.