CVEbaza.plSłownik CWECWE-253
Common Weakness Enumeration

CWE-253

Incorrect Check of Function Return Value

Kategoria: BaseCVE: 25
Opis

Produkt nieprawidłowo sprawdza wartość zwracaną przez funkcję, co uniemożliwia mu wykrycie błędów lub wyjątkowych warunków. Ta luka w kontroli może prowadzić do nieobsłużonych sytuacji wyjątkowych i niestabilności aplikacji.

Description (EN)

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

Podatności CVE z CWE-253 (25)
9.8
CVSS
CRITICAL
CVE-2023-52040

Podatność w firmware routera TOTOLINK X6000R umożliwia nieuwierzytelnionemu atakującemu zdalne wykonanie dowolnych poleceń systemowych. Wysoki wynik CVSS 9.8 wskazuje na krytyczne zagrożenie dla urządzeń dostępnych z sieci.

pub. 2024-01-24
9.8
CVSS
CRITICAL
CVE-2023-4501

Błąd w mechanizmie uwierzytelnienia LDAP w produktach OpenText (Micro Focus) Visual COBOL, COBOL Server, Enterprise Developer i Enterprise Server powoduje, że logowanie kończy się sukcesem z dowolnym hasłem dla prawidłowej nazwy użytkownika, a w niektórych przypadkach nawet z nieistniejącą nazwą użytkownika. Podatność umożliwia nieuprawniony dostęp do systemu i podszywanie się pod dowolnego użytkownika.

pub. 2023-09-12
9.8
CVSS
CRITICAL
CVE-2017-7474

Adapter Keycloak dla Node.js w wersjach 2.5–3.0 nieprawidłowo obsługiwał nieprawidłowe tokeny uwierzytelniające, co umożliwiało ich pominięcie. Podatność jest krytyczna, ponieważ atakujący nieuwierzytelniony sieciowo może uzyskać dostęp do chronionych zasobów bez posiadania ważnych poświadczeń.

pub. 2017-05-12
8.6
CVSS
HIGH
CVE-2023-49286

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. Users are advised to upgrade. There are no known workarounds for this vulnerability.

pub. 2023-12-04
8.2
CVSS
HIGH
CVE-2026-35091

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-bounds read, causing a denial of service (DoS) and potentially disclosing limited memory contents

pub. 2026-04-01
7.8
CVSS
HIGH
CVE-2026-53090

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."). These are only allowed in subprograms when the latter are BTF annotated and have scalar return types. The code generator in bpf_gen_ld_abs() has an abnormal exit path (r0=0 + exit) from legacy cBPF times. While the enforcement is on scalar return types, the verifier must also simulate the path of abnormal exit if the packet data load via ld_{abs,ind} failed. This is currently not the case. Fix it by having the verifier simulate both success and failure paths, and extend it in similar ways as we do for tail calls. The success path (r0=unknown, continue to next insn) is pushed onto stack for later validation and the r0=0 and return to the caller is done on the fall-through side.

pub. 2026-06-24
7.8
CVSS
HIGH
CVE-2026-0648

The vulnerability stems from an incorrect error-checking logic in the CreateCounter() function (in threadx/utility/rtos_compatibility_layers/OSEK/tx_osek.c) when handling the return value of osek_get_counter(). Specifically, the current code checks if cntr_id equals 0u to determine failure, but @osek_get_counter() actually returns E_OS_SYS_STACK (defined as 12U) when it fails. This mismatch causes the error branch to never execute even when the counter pool is exhausted. As a result, when the counter pool is depleted, the code proceeds to cast the error code (12U) to a pointer (OSEK_COUNTER *), creating a wild pointer. Subsequent writes to members of this pointer lead to writes to illegal memory addresses (e.g., 0x0000000C), which can trigger immediate HardFaults or silent memory corruption. This vulnerability poses significant risks, including potential denial-of-service attacks (via repeated calls to exhaust the counter pool) and unauthorized memory access.

pub. 2026-01-27
7.5
CVSS
HIGH
CVE-2026-46419

Yubico webauthn-server-core (aka java-webauthn-server) 2.8.0 before 2.8.2 incorrectly checks a function's return value in the second factor flow, leading to impersonation.

pub. 2026-05-14
7.5
CVSS
HIGH
CVE-2025-57767

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 header, or an Authorization header with an incorrect realm was received without a previous 401 response being sent, the get_authorization_header() function in res_pjsip_authenticator_digest will return a NULL. This wasn't being checked before attempting to get the digest algorithm from the header which causes a SEGV. This issue has been patched in versions 20.15.2, 21.10.2, and 22.5.2. There are no workarounds.

pub. 2025-08-28
7.5
CVSS
HIGH
CVE-2024-43521

Windows Hyper-V Denial of Service Vulnerability

pub. 2024-10-08
7.5
CVSS
HIGH
CVE-2024-32475

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 does not gracefully handle an error when setting SNI for outbound TLS connection. The error can occur when Envoy attempts to use the `host`/`:authority` header value longer than 255 characters as SNI for outbound TLS connection. SNI length is limited to 255 characters per the standard. Envoy always expects this operation to succeed and abnormally aborts the process when it fails. This vulnerability is fixed in 1.30.1, 1.29.4, 1.28.3, and 1.27.5.

pub. 2024-04-18
7.5
CVSS
HIGH
CVE-2024-1622

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

pub. 2024-02-26
7.5
CVSS
HIGH
CVE-2021-37625

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 infinitely unless terminated by a local user, effectively causing the whole database server to shut down. This has severe impact and can be used to easily cause DoS attacks without the need to use much bandwidth. The attack vectors include using an incomplete TLS connection for example by not providing the certificate for the connection and using a specially crafted TCP packet that triggers the application layer backoff algorithm.

pub. 2021-08-05
7.2
CVSS
HIGH
CVE-2026-15686

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 vulnerability. The specific flaw exists within the multi_query method. The issue results from an incorrect check of a function return value. An attacker can leverage this vulnerability to execute code in the context of the web server. Was ZDI-CAN-28201.

pub. 2026-08-20
7.2
CVSS
HIGH
CVE-2026-5818

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 through 2.0.1, 2.1.0.

pub. 2026-06-24
6.3
CVSS
MEDIUM
CVE-2025-54090

A bug in Apache HTTP Server 2.4.64 results in all "RewriteCond expr ..." tests evaluating as "true". Users are recommended to upgrade to version 2.4.65, which fixes the issue.

pub. 2025-07-23
6.3
CVSS
MEDIUM
CVE-2023-24487

Arbitrary file read in Citrix ADC and Citrix Gateway 

pub. 2023-07-10
5.9
CVSS
MEDIUM
CVE-2026-59847

Wykryto lukę w libssh. Nieprawidłowe sprawdzenia finalizacji AES-GCM w kompilacjach wykorzystujących backend OpenSSL mogą skutecznie usunąć ochronę integralności, umożliwiając atakującemu na ścieżce transmisji modyfikowanie tekstu jawnego bez wykrycia.

pub. 2026-07-21
5.5
CVSS
MEDIUM
CVE-2026-35339

Tryb rekurencyjny (-R) narzędzia chmod w uutils coreutils nieprawidłowo obsługuje kody wyjścia podczas przetwarzania wielu plików. Końcowa wartość zwracana zależy wyłącznie od sukcesu lub porażki ostatnio przetwarzanego pliku. Pozwala to poleceniu zwrócić kod wyjścia 0 (sukces) nawet jeśli błędy wystąpiły na wcześniejszych plikach, takie jak 'Operation not permitted'. Skrypty opierające się na tych kodach wyjścia mogą kontynuować pracę z fałszywym poczuciem powodzenia, podczas gdy wrażliwe pliki pozostają z restrykcyjnymi lub nieprawidłowymi uprawnieniami.

pub. 2026-04-22
5.5
CVSS
MEDIUM
CVE-2026-35340

Wada w ChownExecutor używanym przez narzędzia chown i chgrp z uutils coreutils powoduje zwracanie nieprawidłowego kodu wyjścia podczas operacji rekurencyjnych. Końcowy kod wyjścia zależy jedynie od ostatniego przetwarzanego pliku — jeśli ostatnia operacja się powiedzie, polecenie zwraca 0 nawet jeśli wcześniejsze zmiany uprawnień lub grupy nie powiodły się z powodu błędów permisji. Może to prowadzić do nieprawidłowych konfiguracji bezpieczeństwa, w których skrypty administracyjne błędnie zakładają, że przeniesienie uprawnień zostało pomyślnie przeprowadzone na całym drzewie katalogów.

pub. 2026-04-22
Pokazano 20 z 25 podatności
Informacje
ID: CWE-253
Typ: Base
Podatności: 25
MITRE CWE ↗
← Słownik CWE