Name Block Access to Libraries
Summary An application typically makes calls to functions that are a part of libraries external to the application. These libraries may be part of the operating system or they may be third party libraries. It is possible that the application does not handle situations properly where access to these libraries has been blocked. Depending on the error handling within the application, blocked access to libraries may leave the system in an insecure state that could be leveraged by an attacker.
Prerequisites An application requires access to external libraries. An attacker has the privileges to block application access to external libraries.
Solutions Ensure that application handles situations where access to APIs in external libraries is not available securely. If the application cannot continue its execution safely it should fail in a consistent and secure fashion.
Related Weaknesses
CWE ID Description
CWE-227 Improper Fulfillment of API Contract ('API Abuse')
CWE-589 Call to Non-ubiquitous API
Back to Top