Improper Handling of Windows Device Names Affecting gitoxide-core package, versions <0.38.0
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUST-GITOXIDECORE-7064567
- published 23 May 2024
- disclosed 22 May 2024
- credit EliahKagan
Introduced: 22 May 2024
CVE-2024-35197 Open this link in a new tabHow to fix?
Upgrade gitoxide-core
to version 0.38.0 or higher.
Overview
Affected versions of this package are vulnerable to Improper Handling of Windows Device Names through the manipulation of reserved Windows device names such as CON
, CONIN$
, and COM1
in Git repository references and file paths. An attacker can disrupt operations or mislead users by displaying deceptive messages that appear to originate from a trusted application, by creating or cloning repositories with specially crafted names that interact with system devices.
Note
This is only exploitable if the Git client does not sanitize input names to prevent interaction with device names.