Category-398: 7PK-代码质量

admin 2021年12月12日05:44:47评论82 views字数 763阅读2分32秒阅读模式

Category-398: 7PK-代码质量

ID: 398
Status: Draft

Summary

This category represents one of the phyla in the Seven Pernicious Kingdoms vulnerability classification. It includes weaknesses that do not directly introduce a weakness or vulnerability, but indicate that the product has not been carefully developed or maintained. According to the authors of the Seven Pernicious Kingdoms, "Poor code quality leads to unpredictable behavior. From a user's perspective that often manifests itself as poor usability. For an adversary it provides an opportunity to stress the system in unexpected ways."

Membership

ID NAME
CWE-401 在移除最后引用时对内存的释放不恰当(内存泄露)
CWE-404 不恰当的资源关闭或释放
CWE-415 双重释放
CWE-416 释放后使用
CWE-457 使用未经初始化的变量
CWE-474 使用具有不一致性实现的函数
CWE-475 从输入到API的未定义行为
CWE-476 空指针解引用
CWE-477 对废弃函数的使用

References

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

文章来源于互联网:scap中文网

免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2021年12月12日05:44:47
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   Category-398: 7PK-代码质量https://cn-sec.com/archives/613329.html
                  免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉.

发表评论

匿名网友 填写信息