The diesel-async Rust crate has a vulnerability where uninitialized stack padding bytes are exposed when reading MySQL temporal columns (DATE, TIME, DATETIME, TIMESTAMP). This leads to undefined behavior and potential leakage of stale memory contents. The issue arises from unsafe code that constructs a MysqlTime struct without initializing padding bytes, which then become accessible in safe code. A fix is available in version 0.9.0.
The Lemmy API's resend-verification endpoint allows unauthenticated users to distinguish between registered and unregistered email addresses by returning different responses. This enables malicious actors to enumerate registered email addresses without authentication. The endpoint lacks endpoint-specific rate limiting for enumeration, increasing the risk of automated probing. The issue affects versions up to and including 0.19.1-rc.1.
### Impact
LDAP queries are not validated for depth, which can cause the parser (both PEG and ASN) to exhaust the stack. This *may* cause a denial of service in applications that process queries.
### Workarounds
N/A
### References
Related to GHSA-r5fr-9gmv-jggh
The kanidmd_lib image upload handlers validate image data before performing authorization checks, allowing unauthenticated users to trigger image validator code. A specific bug in the PNG validator causes a panic on malformed inputs, such as very short files or those with chunk-length fields near the maximum 32-bit integer value. This panic only aborts the requester's own task without affecting the overall server process or other connections. However, if compiled with panic set to abort, it could cause a full unauthenticated process crash. The issue affects versions from 1.1.0-rc.15 through before 1.9.3 and has been fixed in version 1.9.3.
An unauthenticated attacker can cause the kanidmd process to abort by sending a specially crafted GET request to any /scim/v1/... endpoint with a deeply nested SCIM filter query string. The recursive parser for SCIM filters does not limit recursion depth, leading to a stack overflow and process abort before any authorization checks occur. This results in a denial of service by crashing the entire process. The vulnerability affects versions prior to 1.9.3 and requires no authentication or special feature flags.
Kanidm's OAuth2 token-exchange and token-introspection endpoints use a non-constant-time comparison for the client_secret, which leaks timing information based on the length of the matching prefix. This timing discrepancy could theoretically allow an attacker to incrementally recover the secret. However, due to the high entropy of the secret, TLS protection, and network noise, practical remote exploitation is unlikely. A fix is available in version 1.9.3.
Kanidm versions prior to 1.9.3 contain a stored HTML injection vulnerability in the WebAuthn passkey-registration challenge rendering. The vulnerability arises because the account's displayname is embedded as raw JSON inside an inline script tag without escaping HTML special characters, allowing an attacker to inject arbitrary HTML. This injection can lead to authenticated same-origin request forgery via htmx attributes, enabling privilege escalation for authenticated users with certain admin rights. The vulnerability is fixed in version 1.9.3.
A flaw in the origin validation logic of the webauthn-rs-core and webauthn-authenticator-rs libraries allows an attacker-controlled domain to be incorrectly accepted as a valid origin for a relying party ID (RP ID) when subdomain origin allowance is enabled. This occurs because the check uses a simple string suffix match without verifying domain label boundaries, potentially enabling phishing attacks if the client implementation is non-conforming. The issue is fixed in versions 0.5.5 and 0.6.1-dev.
A vulnerability in rpassword prior to version 7.5.0 allowed partial password disclosure if input was interrupted, such as by killing the process during password entry. This issue has been fixed in version 7.5.0.
In astral-tokio-tar versions 0.6.0 and earlier, the unpack_in API could change permissions of directories outside the intended archive by following symlinks. This vulnerability allows a crafted tar archive to modify external directory permissions but does not affect individual file permissions. The issue is fixed in version 0.6.1, which changes the method used to avoid symlink traversal.
Versions of astral-tokio-tar prior to 0.6.1 have a PAX header interpretation bug that causes desynchronization during extraction. This allows manipulated archive entries to be selectively visible or invisible depending on the tar implementation used, enabling attackers to smuggle unexpected files onto a victim's filesystem. The issue is fixed in version 0.6.1, and upgrading is the only recommended mitigation.
RustFS contains a critical authorization vulnerability in its ListServiceAccount handler, which incorrectly authorizes requests using the UpdateServiceAccount permission instead of the intended ListServiceAccounts permission. This allows users with only update privileges to enumerate all service accounts, including the root user's, exposing sensitive access keys. Additionally, the UpdateServiceAccount handler lacks ownership verification, enabling any user with update permission to overwrite any service account's secret. Chaining these issues allows an attacker to take full administrative control of RustFS by enumerating root access keys and replacing them to create persistent backdoor admin accounts. The vulnerability affects versions from the initial introduction of service account checks through 1.0.0-alpha.97 and is fixed in 1.0.0-alpha.98.
A path traversal vulnerability in gitoxide allows unvalidated submodule names from .gitmodules to escape the intended .git/modules directory. This causes Submodule::state() and Submodule::open() to operate on attacker-chosen repository paths outside the modules directory. The issue arises because submodule names are directly used as filesystem path components without confinement checks or normalization. This can lead to repository confusion where operations on submodules are redirected to unintended repositories. No direct code execution is claimed, but the impact is significant repository redirection.
gitoxide versions prior to 0.52.1 and 0.83.0 have a vulnerability where the .gitmodules file in the worktree can be a symlink pointing outside the repository. This causes the submodule metadata API to parse and expose attacker-controlled data from outside the repository boundary. The flaw allows injection of arbitrary submodule configuration metadata, misleading downstream workflows that rely on this data. No direct code execution is claimed, but the integrity of submodule metadata is compromised.
Multiple denial-of-service vulnerabilities exist in gix-pack versions prior to 0.69.0. Unchecked array indexing in delta data processing can cause panics, leading to process aborts. Additionally, attacker-controlled size headers allow uncapped memory allocations, causing out-of-memory (OOM) kills. These issues are triggered by malicious pack data received during clone or fetch operations. The vulnerabilities affect the gix CLI, any application using the gix crate, and CI/CD systems relying on gitoxide. A fix is available in version 0.69.0.
A vulnerability in the gix library allows bypassing submodule name validation and exploits a trust inheritance flaw in submodule handling. This enables path traversal via crafted .gitmodules files, allowing an attacker to cause gitoxide-based tools to open arbitrary git repository directories with full trust. As a result, sensitive configuration data including credentials can be disclosed. The issue arises because validation only checks the first '..' sequence and is not enforced in production code, combined with the submodule open function inheriting full trust from the parent repository without ownership verification. Fixed versions 0.83.0 and 0.11.1 address these issues.
A vulnerability in the curl-based HTTP transport of gix-transport causes user credentials to be leaked to an attacker-controlled host after an HTTP redirect. When a server issues a 302 redirect, the client rewrites subsequent requests to the redirected host but continues to attach the Authorization header based on the original URL, resulting in credentials being sent to the attacker. Additionally, an HTTPS-to-HTTP downgrade redirect can cause credentials to be sent in cleartext. This issue affects gix-transport versions from 0.25.4 up to but not including 0.56.0 and has been fixed in version 0.56.0.
A vulnerability in the awslabs/tough library prior to version 0.22.0 allows remote authenticated users with delegated signing authority to bypass integrity checks on delegated targets metadata. This occurs because delegated metadata validation lacks expiration, hash, and length enforcement, enabling poisoning of the local metadata cache. The issue affects tough versions 0.9.0 through 0.21.x and tuftool versions before 0.15.0. The flaw has been fixed in tough 0.22.0 and tuftool 0.15.0. No workarounds are known.
A vulnerability in the awslabs/tough library before version 0.22.0 allows remote authenticated users to bypass the TUF delegated role signature threshold by duplicating a valid signature. This flaw permits acceptance of forged delegated role metadata due to improper verification of signature uniqueness. The issue is fixed in tough 0.22.0 and tuftool 0.15.0. No known workarounds exist.
Diesel's SQLite backend incorrectly assumed that strings returned by sqlite3_value_text are always valid UTF-8. This assumption led to unsafe Rust code that could interpret arbitrary bytes from SQLite BLOB fields as UTF-8 strings, violating Rust's safety guarantees. The issue is fixed in Diesel version 2.3.8, which properly validates UTF-8 encoding before constructing string slices.