Skip to content
OpenAdvisories

Weakness (CWE)

CWE-253: Incorrect Check of Function Return Value

Base Incomplete

The product incorrectly checks a return value from a function, which prevents it from detecting errors or exceptional conditions.

How to prevent it (3 mitigations)
  1. Architecture and Design

    Use a language or compiler that uses exceptions and requires the catching of those exceptions.

  2. Implementation

    Properly check all functions which return a value.

  3. Implementation

    When designing any function make sure you return a value or throw an exception in case of an error.

Source: MITRE CWE-253

13 results · Clear filters · Feed

  • High 7.2

    Adminer multi_query Incorrect Check of Function Return Value Remote Code Execution Vulnerability

    Adminer multi_query Incorrect Check of Function Return Value Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Adminer. Authentication is required to exploit this vulnerabili…

  • High 7.8

    bpf: Fix ld_{abs,ind} failure path analysis in subprogs

    In the Linux kernel, the following vulnerability has been resolved: bpf: Fix ld_{abs,ind} failure path analysis in subprogs Usage of ld_{abs,ind} instructions got extended into subprogs some time ago via commit 09b28d76eac4 ("bpf: Add abnormal return checks."…

  • High 7.2

    MCU Firmware Update Authentication Bypass on Caliptra Core

    Incorrect check of function return value in Caliptra Core Runtime Firmware (ActivateFirmwareCmd::activate_fw modules) allows bypass of Caliptra Core's verification of the MCU FW during a hitless update. This issue affects Core Runtime Firmware: from 2.0.0 thr…

  • High 7.5

    Yubico webauthn-server-core (aka java-webauthn-server) 2.8.0 before 2.8.2 incorrectly checks a function's return value …

  • High 8.2

    Corosync: corosync: denial of service and information disclosure via crafted udp packet

    A flaw was found in Corosync. A remote unauthenticated attacker can exploit a wrong return value vulnerability in the Corosync membership commit token sanity check by sending a specially crafted User Datagram Protocol (UDP) packet. This can lead to an out-of-…

  • High 7.8

    The vulnerability stems from an incorrect error-checking logic in the CreateCounter() function (in threadx/utility/rtos…

  • High 7.5

    Asterisk can crash from a specifically malformed Authorization header in an incoming SIP request

    Asterisk is an open source private branch exchange and telephony toolkit. Prior to versions 20.15.2, 21.10.2, and 22.5.2, if a SIP request is received with an Authorization header that contains a realm that wasn't in a previous 401 response's WWW-Authenticate…

  • High 7.5

    Windows Hyper-V Denial of Service Vulnerability

    Windows Hyper-V Denial of Service Vulnerability

  • High 7.5

    Envoy RELEASE_ASSERT using auto_sni with :authority header > 255 bytes

    Envoy is a cloud-native, open source edge and service proxy. When an upstream TLS cluster is used with `auto_sni` enabled, a request containing a `host`/`:authority` header longer than 255 characters triggers an abnormal termination of Envoy process. Envoy do…

  • High 7.5

    Routinator terminates when RTR connection is reset too quickly after opening

    Due to a mistake in error checking, Routinator will terminate when an incoming RTR connection is reset by the peer too quickly after opening.

  • High 8.8

    An issue discovered in TOTOLINK X6000R v9.4.0cu.852_B20230719 allows attackers to run arbitrary commands via the sub_41…

  • High 8.6
    CVE-2023-49286 EPSS 10%

    Denial of Service in Helper Process management

    Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. Due to an Incorrect Check of Function Return Value bug Squid is vulnerable to a Denial of Service attack against its Helper process management. This bug is fixed by Squid version 6.5.…

  • High 7.5

    Incorrect Check of Function Return Value in Skytable

    Skytable is an open source NoSQL database. In versions prior to 0.6.4 an incorrect check of return value of the accept function in the run-loop for a TCP socket/TLS socket/TCP+TLS multi-socket causes an early exit from the run loop that should continue infini…