CWE•Class•Incomplete•0 recent CVEs
CWE-1177Use of Prohibited Code
Description
The product uses a function, library, or third party component that has been explicitly prohibited, whether by the developer or the customer.
[object Object]
Common consequences
- Other→Reduce Maintainability
Potential mitigations
- Build and Compilation,ImplementationIdentify a list of prohibited API functions and prohibit developers from using these functions, providing safer alternatives. In some cases, automatic code analysis tools or the compiler can be instructed to spot use of prohibited functions, such as the "banned.h" include file from Microsoft's SDL. [REF-554] [REF-1009] [REF-7]