The Hubuum client library for Rust versions prior to 0.6.1 can expose sensitive data through its default diagnostics. This occurs because error handling and diagnostic outputs may include full request URLs with query parameters, server response bodies, and other secret-adjacent details. Applications that log these diagnostics risk writing sensitive information such as credentials, tokens, and internal data to logs. The issue is addressed by redacting sensitive query values and sanitizing diagnostic outputs to exclude secret or sensitive content.
The hubuum_client Rust library versions 0.3.0 up to but not including 0.6.1 has a vulnerability where configured custom transports can be bypassed. Several client operations, including password login and token validation, use the built-in reqwest client directly instead of the custom transport, potentially exposing credentials and network traffic outside intended security controls. This bypass affects network isolation, proxy enforcement, request signing, audit logging, and policy checks. A fix has been proposed to route all relevant calls through the configured transport and disable redirect following in built-in clients to maintain endpoint validation.
The Hubuum client library for Rust versions from 0.0.1 up to but not including 0.6.1 has a vulnerability where authenticated requests may leak the bearer Authorization header outside the configured base path due to how HTTP redirects are handled. The library uses reqwest's default redirect policy, which retains sensitive headers on redirects within the same origin but different paths. An attacker or compromised intermediary influencing a 3xx redirect response could cause the Authorization header to be sent to unintended paths on the same origin. This does not affect cross-origin redirects. The issue is fixed in version 0.6.1 by disabling automatic redirect following. Workarounds include configuring reqwest clients to disable redirects and ensuring the Hubuum origin is not shared with other applications that could redirect requests outside the allowed path prefix.
SurrealDB versions before 3.1.0 silently downgrade the ES512 JWT algorithm to ES384 due to a limitation in the underlying jsonwebtoken crate. This causes authentication handshake failures when ES512 keys are used, as the expected cryptographic curve does not match. The issue does not allow token forgery or compromise data confidentiality or integrity because ES384 remains cryptographically strong.
SurrealDB versions before 3.1.0 contain a denial of service vulnerability in their JSON parser due to failure to enforce recursion depth limits when processing nested braces, brackets, or parentheses. An unauthenticated attacker can exploit this by sending deeply nested JSON payloads to the WebSocket /rpc endpoint, causing server memory exhaustion and process crashes.
SurrealDB versions before 3.1.0 have an authorization bypass vulnerability in the KILL statement. This flaw allows authenticated users to terminate other users' live query subscriptions without verifying ownership. The vulnerability can disrupt real-time data subscriptions of other users. It has a CVSS 3.1 score of 5.4, indicating medium severity.
SurrealDB versions before 3.1.0 contain a vulnerability where user-supplied WHERE clauses in various query statements are evaluated against full record data before permission checks are enforced. This flaw allows authenticated users to bypass table-level permissions and read the full contents of any table within their current database. Exploitation is easier when scripting is enabled but can also occur through other SurrealQL features. The issue does not affect cross-namespace or cross-database boundaries.
SurrealDB versions before 3.1.0 have an information disclosure vulnerability where authenticated users with UPDATE permissions can read field values that should be hidden by field-level SELECT permissions. This occurs because error messages leak raw operand values when arithmetic or extend operations are performed on hidden fields. The vulnerability allows bypassing of field-level access controls via error message content.
SurrealDB versions prior to 3.1.0 have a vulnerability that allows authenticated users to bypass field-level SELECT permissions via JSON Patch operations. Specifically, using UPDATE PATCH with an empty 'from' pointer in 'copy' or 'move' operations enables duplication of all record fields, including those protected by field-level permissions, into attacker-controlled destination fields. This vulnerability has been withdrawn as a duplicate advisory but remains relevant for versions before 3.1.0.
SurrealDB versions before 3.1.0 contain a vulnerability where table SELECT permissions are not enforced during graph traversal. Authenticated users can read records from any table reachable through graph edges, bypassing intended access controls. This issue allows unauthorized data disclosure without requiring elevated privileges beyond authentication.
SurrealDB versions before 3.1.0 have a vulnerability in HTTP redirect handling that allows authenticated users to bypass port-specific --deny-net rules. This occurs because the port information is dropped during redirect policy evaluation, enabling redirects from allowed hostnames to denied host:port combinations to be followed.
SurrealDB versions up to 3.1.3 contain a vulnerability where SELECT permissions on array elements (field.*) are not properly enforced for record users. This flaw causes denied array elements to be leaked instead of hidden, allowing attackers with record scope access to read data they should not be able to access. The issue arises from incorrect index handling during permission filtering. This vulnerability has a CVSS score of 6.5, indicating a high severity impact on confidentiality without affecting integrity or availability.
SurrealDB versions 3.1.0 before 3.1.5 have a vulnerability where field-level SELECT permissions are bypassed when accessing records via graph-edge or back-reference traversals. This allows attackers with table-level SELECT access to read fields that should be restricted by field-level permissions. The issue arises because permissions are not enforced correctly during these traversal queries.
SurrealDB versions before 3.2.0 contain a vulnerability where custom API routes do not properly validate namespace and database scope. This allows authenticated users to access or invoke endpoints across different namespaces or databases by manipulating the URL path. The flaw can lead to unauthorized data access or unintended operations within other tenants' scopes.
SurrealDB versions before 3.2.0 have a permissions bypass vulnerability where data-modifying statements embedded within PERMISSIONS clauses execute without enforcement. This allows attackers with limited permissions to write to tables they should not have access to, potentially causing unintended data writes and corruption. The advisory is a duplicate and has been withdrawn in favor of GHSA-66r2-5gwj-gxm2.
Xmloxide versions prior to 0.4.4 contain a stack overflow vulnerability due to unbounded recursion in the DTD content-model parsing. This occurs when parsing deeply nested parentheses in the internal DTD subset of an XML document, leading to exhaustion of the stack and process crash. The vulnerability is triggered by XML inputs containing a DOCTYPE with deeply nested content models. The issue is fixed in version 0.4.4 by limiting the parenthesis-nesting depth to 256 levels, rejecting deeper nesting with a parse error. Applications unable to upgrade should reject or strip DOCTYPE declarations from untrusted XML inputs to mitigate the risk.
SurrealDB versions before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before 2.2.2 do not enforce a default execution-time limit on embedded JavaScript functions when scripting is enabled. This allows an authenticated attacker to submit long-running JavaScript code that can exhaust server resources and cause a denial of service. Scripting is disabled by default, reducing exposure unless explicitly enabled.
SurrealDB versions before 1.5.4 contain an authentication validation flaw when a scope user switches databases using the USE clause or use method. This allows an authenticated user to impersonate another user in a different database if a user with the same identifier exists, potentially enabling unauthorized actions based on the $auth parameter. The vulnerability has a medium severity rating with a CVSS score of 6.3.
SurrealDB versions prior to 1.5.5 and 2.0.0-beta versions before 2.0.0-beta.3 have a vulnerability in the RPC API signin and signup operations. The API accepts arbitrary objects without proper recursive validation, allowing unauthenticated attackers to supply a binary object containing a subquery. This subquery executes with editor role privileges, enabling attackers to select, create, update, and delete non-IAM resources. However, attackers cannot view query results directly or affect IAM resources, which require higher privileges.
SurrealDB versions before 1.2.0 have an uncaught exception vulnerability in the query executor. This occurs when authorized clients send queries that call nonexistent built-in functions, causing the server to panic and crash. The issue leads to a denial of service but does not impact confidentiality or integrity.