Weakness (CWE)
CWE-253: Incorrect Check of Function Return Value
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)
-
Architecture and Design
Use a language or compiler that uses exceptions and requires the catching of those exceptions.
-
Implementation
Properly check all functions which return a value.
-
Implementation
When designing any function make sure you return a value or throw an exception in case of an error.
Source: MITRE CWE-253
2 results · Clear filters · Feed
-
Critical 9.8
Authentication bypass in OpenText (Micro Focus) Enterprise Server
User authentication with username and password credentials is ineffective in OpenText (Micro Focus) Visual COBOL, COBOL Server, Enterprise Developer, and Enterprise Server (including product variants such as Enterprise Test Server), versions 7.0 patch updates…
-
Critical 9.8
keycloak-connect and keycloak-js improperly handle invalid tokens
It was found that the Keycloak Node.js adapter 2.5 - 3.0 did not handle invalid tokens correctly. An attacker could use this flaw to bypass authentication and gain access to restricted information, or to possibly conduct further attacks.