The shaman crate contains a soundness issue in functions like shaman::cryptoutil::write_u64v_le, which cannot guarantee memory safety when certain length parameters are zero. Additionally, the shaman crate is unmaintained.
SurrealDB versions before 2.2.2 contain a vulnerability where HTTP redirects in http functions are not properly validated. This allows authenticated users to bypass deny-net restrictions by using redirects to access blocked IP addresses. The issue enables server-side request forgery (SSRF), potentially allowing attackers to reach internal endpoints and extract sensitive information. The advisory is a duplicate and has been withdrawn in favor of GHSA-5q9x-554g-9jgg. The vulnerability has a CVSS score of 7.6, indicating a medium severity level.
SurrealDB versions before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before 2.2.2 contain a SurrealQL injection vulnerability in the command-line export command. Authenticated users with OWNER or EDITOR roles can create malicious table or field names that inject SurrealQL code. When a higher-privileged user imports the backup, this injected code executes, allowing privilege escalation and root-level takeover of the SurrealDB instance. Applications permitting user-defined tables or fields are vulnerable to a universal second-order SurrealQL injection, even if query parameters are sanitized.
gitoxide uses SHA-1 hash implementations without collision detection, making it vulnerable to SHA-1 collision attacks. Unlike Git, which mitigates this risk by detecting known SHA-1 collisions since version 2.13.0, gitoxide does not implement such protections. This allows an attacker to create two distinct Git objects with the same SHA-1 hash, potentially undermining repository integrity. The vulnerability affects all gitoxide versions before 0.41.0 and has a medium severity rating with a CVSS score of 6.8. A fix is available in version 0.41.0.
The gix-worktree-state component has a vulnerability where executable files checked out nonexclusively are set with 0777 permissions, making them world-writable. This occurs because one method of setting permissions bypasses the umask, resulting in overly permissive file modes. The issue affects versions prior to 0.17.0 and has been fixed in version 0.17.0.
SurrealDB versions prior to 2.1.0 have a denial of service vulnerability caused by uncaught exception handling when a user is assigned a nonexistent role. Privileged owner users can define users with invalid roles, and attackers can trigger a server crash by signing in with such users.
SurrealDB versions before 2.0.4 have an authorization vulnerability where field permissions are not properly enforced during SELECT, UPDATE, and DELETE operations. This allows authorized users to access field values they should not be permitted to see by exploiting various query techniques such as SELECT VALUE operations, field aliasing, and WHERE clause filtering. The vulnerability enables leakage of protected field contents despite lacking explicit SELECT permissions.
The gix-path library improperly resolves configuration file paths reported by Git when those paths contain unusual or non-ASCII characters. This flaw arises because gix-path does not use Git's null-terminated output option and attempts to parse quoted paths by stripping quotation marks without reversing encoding transformations. As a result, an attacker with limited local user access can craft malicious configuration files that gix-path mistakenly loads, potentially leading to code execution. The vulnerability affects versions before 0.10.11 and has a CVSS score of 6.0. A fix is available in version 0.10.11.
The gix-path library incorrectly treats local Git repository configuration as system-wide configuration under certain conditions, leading to potential leakage of sensitive information such as credentials between repositories. This occurs when higher scoped configuration files are missing or deliberately disabled, causing local configuration to be misinterpreted as installation-level configuration. This can result in credentials intended for one repository being sent to another during operations like cloning. The issue is fixed in version 0.10.10.
gitoxide-core's gix and ein commands output repository metadata, including pathnames, author names, and commit messages, directly to terminals without neutralizing special characters such as ANSI escape sequences. This allows a malicious repository to produce misleading or manipulated terminal output, including colored text and cursor repositioning, which can conceal files or mimic error messages. The impact is mostly an annoyance and limited to Unix-like systems with ANSI-capable terminals. Windows systems are less affected due to filename and terminal limitations. The vulnerability does not affect other applications unless they use gitoxide-core, which is discouraged. No known exploits are reported, and the CVSS score is low.
Russh versions prior to 0.44.1 contain a vulnerability where the SSH packet length is unchecked, allowing an unauthenticated client to request extremely large packet sizes. This leads to memory exhaustion on the server due to unbounded buffer allocation. The issue is fixed in version 0.44.1 by rejecting packet lengths above 256 KiB.
The alloy-json-abi crate versions prior to 0.8.0 contain a stack overflow vulnerability in the JsonAbi::parse method when processing specially crafted malformed JSON ABI strings. This flaw can cause the application using the crate to crash, resulting in a denial of service. The issue was fixed in version 0.8.0.
The gix-path crate version 0.10.8 on Windows can be tricked into executing a malicious git.exe placed in a fake Program Files directory by a limited user. This occurs because gix-path checks two hard-coded fallback paths for git.exe, including C:\Program Files (x86)\Git\mingw32\bin, which a limited user can create on 32-bit Windows systems. If the real git.exe is not found in the PATH, other users running applications using gix-path may execute the malicious git.exe, leading to potential privilege escalation. This vulnerability is fixed in version 0.10.9.
On Windows, the gix-worktree tool allows Git repositories to include references or file paths named after legacy Windows device names (e.g., CON, CONIN$, CONOUT$, COM1). Accessing such refs causes reads from system devices, potentially blocking operations, while checking out files with these names writes arbitrary data to devices like the console or serial ports. This can lead to denial of service or deceptive console output that appears to come from the application, facilitating social engineering. The issue affects gix-worktree versions prior to 0.34.0 and has a medium severity rating.
CVE-2024-35186 is a path traversal vulnerability in gix-fs that allows a specially crafted repository to place files outside the intended working tree during checkout. This can lead to arbitrary code execution by installing malicious files such as Git hooks outside the repository directory. The issue arises because gix-fs and related components do not properly verify that paths remain within the working tree, allowing upward or downward traversal using specially named trees or blobs. The vulnerability affects versions before 0.11.0 and is fixed in 0.11.0.
A memory leak vulnerability exists in ic-stable-structures versions 0.6.0 up to but not including 0.6.4 when using BTreeMap to store unbounded types. The issue occurs because only the first memory chunk of a node is deallocated, leaving the rest allocated and causing memory consumption to grow. This can lead to excessive memory use or out-of-memory conditions if exploited. The vulnerability has been fixed in version 0.6.4.