BaseDraft
CWE-676Use of Potentially Dangerous Function
Category: other
Description
The product invokes a potentially dangerous function that could introduce a vulnerability if it is used incorrectly, but the function can also be used safely.
Common consequences· 1
- Other — Varies by Context, Quality Degradation, Unexpected StateIf the function is used incorrectly, then it could result in security problems.
Potential mitigations· 1
- [Build and Compilation, Implementation]Identify 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]
References
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.