Category-388: 7PK-错误

ID: 388 Status: Draft

Summary

This category represents one of the phyla in the Seven Pernicious Kingdoms vulnerability classification. It includes weaknesses that occur when an application does not properly handle errors that occur during processing. According to the authors of the Seven Pernicious Kingdoms, "Errors and error handling represent a class of API. Errors related to error handling are so common that they deserve a special kingdom of their own. As with 'API Abuse,' there are two ways to introduce an error-related security vulnerability: the most common one is handling errors poorly (or not at all). The second is producing errors that either give out too much information (to possible attackers) or are difficult to handle."

Membership

ID NAME
CWE-391 未经检查的错误条件
CWE-395 使用NullPointerException捕捉来检测空指针解引用
CWE-396 对通用异常声明Catch语句
CWE-397 对通用异常声明Throws语句

References

REF-6 Seven Pernicious Kingdoms: A Taxonomy of Software Security Errors