Categories
CVE-2024-35186

gix traversal outside working tree enables arbitrary code execution

Summary

gix traversal outside working tree enables arbitrary code execution

Original description

The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV

Affected packages

crates.io gix-worktree
[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.34.0"}]}]
crates.io gix-fs
[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.11.0"}]}]
crates.io gix-index
[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.33.0"}]}]

Fix status by distribution

Fixed packages published by each distribution for this CVE

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details