Skip to content
OpenAdvisories

Weakness (CWE)

CWE-1025: Comparison Using Wrong Factors

Class Incomplete

The code performs a comparison between two entities, but the comparison examines the wrong factors or characteristics of the entities.

Source: MITRE CWE-1025

23 results · Feed

  • Medium 5.9

    Hickory DNS 0.26.0-beta.1 before 0.26.2 DNSSEC Validation Bypass via Name Hash Collision

    The hickory-net crate in Hickory DNS 0.26.0-beta.1 before 0.26.2 allows DNSSEC validation bypass because Name's Hash ignores label lengths and ValidationCacheKey compares only that hash. An attacker controlling an unsigned delegation whose name differs from a…

  • Medium 6.8

    Authentication bypass via issuer-and-serial-only certificate equality in shared cluster cache

    The MongoDB C# Driver compares TLS client certificates by issuer and serial number only when deciding whether two clients can share cached connections. In an application that creates clients from certificates supplied by different users, a user who provides a…

  • Medium 6.8

    Sssd: sssd: authorization bypass via cross-domain username collision in hbac evaluation

    A flaw was found in SSSD. In trust-enabled identity management environments, SSSD evaluates Host-Based Access Control (HBAC) rules by stripping domain qualifiers and comparing only short usernames. An authenticated user in a trusted domain who shares the same…

  • High 8.4

    The Rattadan Cosmowarp smart contract before 56c6147 can have a comparison to an unintended value of current_admin.

  • Medium 6.9

    Logic flaw in SANnav Java cache key handling object comparison handling

    A logic flaw in Java cache key handling object comparison handling could lead to improper identifier resolution when processing specific user account structures. The issue has been remediated by updating the internal comparison routines to ensure accurate obj…

  • High 7.5

    Apache Tomcat: WebSocket DoS due to lost asynchronous write timeout

    Missing release of resource after effective lifetime, Comparison using wrong factors vulnerability in Apache Tomcat allows a denial of service as a result of lost time outs for asynchronous WebSocket writes. This issue affects Apache Tomcat: from 11.0.0-M1 th…

  • High 7.2

    In OpenStack Blazar before 17.0.1, the V2 lease API does not enforce object-level authorization on its update and delet…

  • High 7.7

    CyberPanel before 2.4.4 attempts to detect an "alais" domain (i.e., a second domain that serves the same content as a p…

  • High 7.5

    PocketMine-MP before 5.3.1 Denial of Service via LoginPacket

    PocketMine-MP versions before 5.3.1 and 4.23.1 contain a denial of service vulnerability in LoginPacket JSON parsing due to improper null value handling in arrays. Attackers can send malformed JSON with unexpected null elements in LoginPacket to crash the ser…

  • Critical 9.8

    Punk::Plugin::TOTP versions before 0.05 for Perl accept another account's recovery code at the two-factor challenge because totp_use_recovery compares user identifiers numerically

    Punk::Plugin::TOTP versions before 0.05 for Perl accept another account's recovery code at the two-factor challenge because totp_use_recovery compares user identifiers numerically. The helper searches the recovery model for the submitted code's digest alone, …

  • High 7.5

    ArcadeDB before 26.8.1 Arbitrary File Read via Unescaped Regex

    ArcadeDB before 26.8.1 contains an arbitrary file read vulnerability in the GraalVM JavaScript sandbox allowlist enforcement, which uses unescaped regular expressions to validate package names. Attackers with trigger creation privileges can use Java.type() to…

  • High 8.7

    stoatchat before 20250210-1 Unrestricted Message History Fetch

    stoatchat (delta) versions before 20250210-1 (0.8.2) contain a logic error in the query messages route. When fetching messages 'nearby' another message, the database query can be given a message limit of zero, which the database interprets as 'no limit'. A re…

  • High 8.1

    Keycloak-policy-enforcer: keycloak policy enforcer: authorization bypass via incorrect uri comparison

    A flaw was found in Keycloak Policy Enforcer. This vulnerability allows any authenticated user to bypass all authorization policies, including role, scope, and User-Managed Access (UMA) permission checks. By including the configured access-denied page path wi…

  • High 7.5

    Distribution-over-TLS LAN allowlist silently bypassed due to sockname/peername confusion in inet_tls_dist

    Reliance on IP Address for Authentication vulnerability in Erlang/OTP ssl (inet_tls_dist module) allows unauthenticated bypass of the distribution-over-TLS LAN allowlist. The inet_tls_dist:check_ip/1 function, which enforces a LAN allowlist for Erlang distrib…

  • High 7.2

    Zebra: Cached Mempool Verification Bypasses Consensus Rules for Ahead-of-Tip Blocks

    ZEBRA is a Zcash node written entirely in Rust. Prior to zebrad version 4.3.1 and zebra-consensus version 5.0.2, a logic error in Zebra's transaction verification cache could allow a malicious miner to induce a consensus split. By carefully submitting a trans…

  • Medium 6.2

    In systemd 260 before 261, a local unprivileged user can trigger an assert via an IPC API call with an array or map tha…

  • Medium 5.4

    iccDEV has Type Confusion in CIccTag:IsTypeCompressed()

    iccDEV provides a set of libraries and tools that allow for the interaction, manipulation, and application of International Color Consortium (ICC) color management profiles. Versions prior to 2.3.1.2 have a Type Confusion vulnerability in `CIccTag:IsTypeCompr…

  • Medium 6.8

    HAProxy 2.2 through 3.1.6, in certain uncommon configurations, has a sample_conv_regsub heap-based buffer overflow beca…

  • Medium 5.7

    Improper timestamp caching during snapshot rollback in tough

    During a snapshot rollback, the client incorrectly caches the timestamp metadata. If the client checks the cache when attempting to perform the next update, the update timestamp validation will fail, preventing the next update until the cache is cleared. User…

  • Medium 5.7

    Failure to detect delegated target rollback in tough

    During a target rollback, the client fails to detect the rollback for delegated targets. This could cause the client to fetch a target from an incorrect source, altering the target contents. Users should upgrade to tough version 0.20.0 or later and ensure any…

  • Critical 9.3

    Misskey's Incomplete Patch of CVE-2024-52591 Leads to Forgery of Federated Notes

    Misskey is an open source, federated social media platform. The patch for CVE-2024-52591 did not sufficiently validate the relation between the `id` and `url` fields of ActivityPub objects. An attacker can forge an object where they claim authority in the `ur…

  • Low 3.2

    operations/attestation/AttestationTask.kt in the Tangem SDK before 5.18.3 for Android has a logic flow in offline walle…

  • Medium 5.8

    Cisco Firepower Threat Defense Software Rate Filter Bypass Vulnerability

    Multiple Cisco products are affected by a vulnerability in the rate filtering feature of the Snort detection engine that could allow an unauthenticated, remote attacker to bypass a configured rate limiting filter.  This vulnerability is due to an incorre…